/* ServicePlan — foglio di stile del sito
   Colori ripresi dal logo: blu, verde, grigio acciaio. Nessuna dipendenza esterna. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #12203a;
  --ink-2: #45546c;
  --blue: #1a5fd6;
  --blue-dark: #134aa8;
  --blue-light: #e6efff;
  --green: #2f8a1f;
  --green-light: #e3f4db;
  --amber: #a86300;
  --amber-light: #fdf0d5;
  --line: #d8dfe9;
  --bg: #f3f6fb;
  --white: #fff;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.6vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 62ch; }
.measure { max-width: 68ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-block; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 10px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); border-color: var(--ink-2); color: var(--ink); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Testata ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { padding: 12px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 2px solid var(--blue); }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: 22px; }
.hero-note { margin-top: 22px; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Tabellone degli interventi (decorativo, costruito in CSS) */
.board-stage { position: relative; padding-bottom: 36px; padding-right: 30px; }
.board { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -28px rgba(18,32,58,.35); font-size: .76rem; line-height: 1.3; }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 650 1rem var(--display); }
.board-head span { font: 500 .8rem var(--body); color: var(--ink-2); }
.board-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.day { min-width: 0; overflow-wrap: break-word; padding: 12px 8px 16px; border-right: 1px solid var(--line); min-height: 250px; }
.day:last-child { border-right: 0; }
.day-name { font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding-left: 4px; }
.day.today .day-name { color: var(--blue); }
.job { border-radius: 8px; padding: 7px 7px; margin-bottom: 8px; background: var(--blue-light); border-left: 3px solid var(--blue); }
.job b { display: block; font-weight: 600; font-size: .93em; letter-spacing: -0.01em; }
.job small { color: var(--ink-2); font-size: .72rem; }
.job.done { background: var(--green-light); border-left-color: var(--green); }
.job.due { background: var(--amber-light); border-left-color: var(--amber); }
.board-legend { display: flex; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink-2); }
.board-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--blue); }
.board-legend .l-done { background: var(--green); }
.board-legend .l-due { background: var(--amber); }

.phone { position: absolute; right: 0; bottom: 0; width: 190px; background: var(--ink); border-radius: 26px; padding: 9px; box-shadow: 0 26px 50px -18px rgba(18,32,58,.6); font-size: .72rem; line-height: 1.3; }
.phone-screen { background: #fff; border-radius: 18px; overflow: hidden; }
.phone-bar { background: var(--ink); color: #fff; padding: 12px 12px 10px; font-weight: 600; }
.phone-bar small { display: block; font-weight: 400; opacity: .7; }
.phone-body { padding: 10px; }
.check { display: flex; gap: 7px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.check::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.sign { margin-top: 10px; border: 1px dashed var(--line); border-radius: 8px; padding: 6px 8px 2px; color: var(--ink-2); }
.sign svg { display: block; width: 100%; height: 34px; }
.phone-btn { margin-top: 10px; background: var(--blue); color: #fff; text-align: center; padding: 9px; border-radius: 8px; font-weight: 600; }
@media (max-width: 620px) {
  .board-stage { padding-right: 0; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .day:nth-child(n+4) { display: none; }
  .day:nth-child(3) { border-right: 0; }
  .phone { width: 160px; right: 8px; }
  .board-legend { flex-wrap: wrap; gap: 10px; padding-right: 180px; }
}
@media (prefers-reduced-motion: no-preference) {
  .board, .phone { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .phone { animation-delay: .25s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tint { background: var(--bg); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { max-width: 22ch; margin-bottom: 16px; }

/* In breve: definizione citabile */
.brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.brief p { font-size: 1.15rem; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.facts span { color: var(--ink-2); }
@media (max-width: 860px) { .brief { grid-template-columns: 1fr; } .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Flusso: dal contratto all'incasso (è una sequenza vera, quindi numerata) */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.flow li { counter-increment: step; padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.flow li:not(:nth-child(3n)) { border-right: 1px solid var(--line); margin-right: 28px; }
.flow li::before { content: counter(step); display: block; font: 700 2.6rem/1 var(--display); color: var(--blue); margin-bottom: 14px; }
.flow h3 { margin-bottom: 8px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li:not(:nth-child(3n)) { border-right: 0; margin-right: 0; padding-right: 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
  .flow li::before { grid-row: span 2; }
}

/* Funzionalità: elenco a due colonne, gruppo a sinistra e voci a destra */
.features { border-top: 2px solid var(--ink); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 56px); padding-block: 34px; border-bottom: 1px solid var(--line); }
.feature h3 { font-size: 1.5rem; }
.feature > div > p { color: var(--ink-2); margin: 10px 0 0; font-size: 1rem; }
.feature ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.feature li { break-inside: avoid; padding: 0 0 14px 22px; position: relative; font-size: 1rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--blue); }
.feature li strong { font-weight: 600; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature ul { columns: 1; } }

/* Fascia scura: app operatore */
.on-dark { background: var(--ink); color: #fff; }
.on-dark .lead { color: #c5d0e2; }
.on-dark a:not(.btn) { color: #9fc3ff; }
.app { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.app h2 { margin-bottom: 18px; }
.app-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.app-list li { border-top: 1px solid rgba(255,255,255,.22); padding-top: 14px; color: #c5d0e2; font-size: 1rem; }
.app-list strong { display: block; color: #fff; font: 650 1.1rem var(--display); margin-bottom: 4px; }
.report { background: #fff; color: var(--ink); border-radius: 14px; padding: 26px; font-size: .92rem; transform: rotate(1.5deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.report h3 { font-size: 1.15rem; margin-bottom: 4px; }
.report .meta { color: var(--ink-2); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.report dt { color: var(--ink-2); }
.report dd { margin: 0; font-weight: 600; text-align: right; }
.report .ok { color: var(--green); }
.report .sign { margin-top: 18px; }
.report .sign svg { height: 46px; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } .app-list { grid-template-columns: 1fr; } .report { transform: none; } }

/* Settori: tabella-registro */
.sectors { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.sectors th { text-align: left; font: 600 .9rem var(--body); color: var(--ink-2); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.sectors td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 1rem; }
.sectors td:first-child { width: 28%; }
.sectors td:first-child a { font: 650 1.3rem/1.2 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.sectors td:first-child a:hover { color: var(--blue); text-decoration: underline; }
.sectors td:last-child { color: var(--ink-2); width: 30%; padding-right: 0; }
.sectors tr:hover td { background: rgba(26,95,214,.035); }
@media (max-width: 760px) {
  .sectors thead { display: none; }
  .sectors, .sectors tbody, .sectors tr, .sectors td { display: block; width: 100% !important; }
  .sectors tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .sectors td { border: 0; padding: 0 0 6px; }
}

/* FAQ */
.faq { max-width: 820px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 650 1.2rem/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.8rem/1 var(--body); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* Contatti */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-points li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-points span { display: block; color: var(--ink-2); font-size: .95rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3.5vw, 38px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 1rem/1.4 var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid #b9c3d2; border-radius: 9px; padding: 13px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue-light); border-color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); margin-bottom: 22px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; }
.form-msg { margin: 16px 0 0; padding: 14px 16px; border-radius: 9px; font-weight: 500; display: none; }
.form-msg.ok { display: block; background: var(--green-light); color: #1c5a11; }
.form-msg.err { display: block; background: #fde6e4; color: #8f1d15; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Pagine interne */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 20ch; margin-bottom: 20px; }
.crumbs { font-size: .92rem; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); }
.norm { display: inline-block; margin-top: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .95rem; color: var(--ink-2); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.cols > div { padding: 26px 28px 8px 0; }
.cols > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.cols h3 { margin-bottom: 12px; }
.cols ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 1rem; }
.cols li { margin-bottom: 8px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.cta-band { text-align: left; }
.cta-band h2 { max-width: 20ch; margin-bottom: 16px; }

/* Piè di pagina */
.site-footer { background: var(--ink); color: #c5d0e2; padding-block: 56px 32px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px; }
.footer-grid h2 { font: 600 1rem var(--body); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 1.3rem var(--display); margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Icone e illustrazioni ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-light); color: var(--blue); flex: none; }
.tile .ico { width: 26px; height: 26px; }
.tile.t-green { background: var(--green-light); color: var(--green); }
.tile.t-amber { background: var(--amber-light); color: var(--amber); }
.tile.t-ink { background: #e3e8f1; color: var(--ink); }
.pill { display: inline-block; white-space: nowrap; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.p-amber { background: var(--amber-light); color: var(--amber); }
.p-blue { background: var(--blue-light); color: var(--blue-dark); }
.p-green { background: var(--green-light); color: #1c5a11; }

/* Sfondo a griglia di punti nell'hero e nelle testate */
.hero, .page-head { background-image: radial-gradient(rgba(26,95,214,.13) 1.2px, transparent 1.3px); background-size: 22px 22px; }

/* Flusso */
.flow li::before { content: none; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-n::before { content: counter(step); font: 700 2.4rem/1 var(--display); color: #c3cfe2; }
@media (max-width: 860px) { .flow li, .flow li:not(:nth-child(3n)) { display: block; } }

/* Funzionalità */
.feature .tile { margin-bottom: 16px; }
.feature > div > h3 { display: block; }

/* Riquadro scadenze in "In breve" */
.brief > div:first-child h2 { margin-bottom: 28px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(18,32,58,.35); overflow: hidden; max-width: 440px; }
.widget-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 650 1.05rem var(--display); }
.widget-head .ico { color: var(--blue); }
.w-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.3; }
.w-row:last-child { border-bottom: 0; }
.w-row .tile { width: 40px; height: 40px; border-radius: 11px; }
.w-row .tile .ico { width: 20px; height: 20px; }
.w-row > div { flex: 1; min-width: 0; }
.w-row b { display: block; font-weight: 600; }
.w-row small { color: var(--ink-2); }

/* App operatore */
.app-list .ico { display: block; width: 26px; height: 26px; color: #9fc3ff; margin-bottom: 10px; }
.offline-badge { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 8px 14px; border-radius: 99px; background: rgba(159,195,255,.14); color: #cfe0ff; font-weight: 600; font-size: .95rem; }

/* Settori */
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-grid a { display: flex; flex-direction: column; height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sector-grid a:hover { border-color: var(--blue); box-shadow: 0 18px 40px -26px rgba(26,95,214,.55); transform: translateY(-2px); color: var(--ink); }
.sector-grid .tile { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px; }
.sector-grid .tile .ico { width: 30px; height: 30px; }
.sector-grid h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sector-grid p { color: var(--ink-2); font-size: 1rem; margin-bottom: 18px; }
.sector-grid .reg { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.sector-grid .reg .ico { color: var(--green); margin-top: 2px; }
@media (max-width: 980px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .sector-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sector-grid a { transition: none; } .sector-grid a:hover { transform: none; } }

/* Contatti */
.contact-points li { position: relative; padding-left: 40px; }
.contact-points .ico { position: absolute; left: 0; top: 18px; width: 24px; height: 24px; color: var(--blue); }

/* Funzionalità: collegamenti rapidi */
.jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.jump a { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
.jump .tile { width: 36px; height: 36px; border-radius: 10px; }
.jump .tile .ico { width: 19px; height: 19px; }

/* Pagine di settore: testata con scheda apparecchiatura */
.head-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.asset-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -32px rgba(18,32,58,.4); font-size: .95rem; transform: rotate(-1.2deg); }
.asset-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.asset-top small, .asset-due small { display: block; color: var(--ink-2); font-size: .82rem; }
.asset-top b { font: 650 1.15rem/1.2 var(--display); }
.asset-card dl { margin: 16px 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.asset-card dt { color: var(--ink-2); }
.asset-card dd { margin: 0; font-weight: 600; text-align: right; }
.asset-due { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg); line-height: 1.3; }
.asset-due > .ico { width: 24px; height: 24px; color: var(--amber); }
.asset-due > div { flex: 1; }
.asset-ok { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #1c5a11; font-weight: 600; font-size: .9rem; }
.cols .tile { margin-bottom: 16px; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; } .asset-card { transform: none; max-width: 420px; } }

/* Tabelle nelle pagine di testo (privacy, cookie) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 1rem; border-top: 2px solid var(--ink); }
.prose th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: .92rem; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.prose td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:first-child { width: 46%; }
.prose p { margin-bottom: 1.1em; }

/* ---------- Riquadro del consenso ai cookie ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer .linklike { color: #fff; text-decoration: none; }
.site-footer .linklike:hover { text-decoration: underline; }
.cookie-banner { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 20px; box-shadow: 0 30px 70px -20px rgba(18,32,58,.45); font-size: .95rem; line-height: 1.5; }
.cookie-banner p { margin: 0 0 14px; color: var(--ink-2); }
.cookie-banner .cookie-titolo { font: 650 1.15rem/1.25 var(--display); color: var(--ink); margin-bottom: 8px; padding-right: 28px; }
.cookie-azioni { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.cookie-azioni .btn { padding: 13px 10px; text-align: center; }
.cookie-azioni .btn-ghost { border-color: var(--ink-2); }
.cookie-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.cookie-x:hover { background: var(--bg); color: var(--ink); }
.prose code { font-size: .92em; background: var(--bg); padding: 2px 6px; border-radius: 5px; }

/* ---------- Fascia dei settori sotto l'hero ---------- */
.sector-band { padding-block: clamp(44px, 6vw, 72px); }
.band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 30px; }
.band-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.band-head p { margin: 0; color: #c5d0e2; font-size: 1.05rem; }
.band-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.band-grid a { display: flex; flex-direction: column; height: 100%; padding: 22px 18px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.on-dark .band-grid a { color: #fff; }
.band-grid a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.band-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 15px; background: #fff; color: var(--blue); margin-bottom: 18px; }
.band-ico .ico { width: 30px; height: 30px; }
.band-grid strong { font: 650 1.08rem/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 8px; }
.band-grid a > span:last-child { font-size: .88rem; line-height: 1.4; color: #c5d0e2; }
.band-grid a:hover > span:last-child { color: #e6efff; }
@media (max-width: 1100px) { .band-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .band-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .band-grid a { padding: 18px 14px; } .band-ico { width: 46px; height: 46px; margin-bottom: 14px; } .band-ico .ico { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .band-grid a { transition: none; } .band-grid a:hover { transform: none; } }
