/* Fabbro Serrature Vicenza — foglio di stile. Realizzato da Defra Digital Solution */
/* Layout: bande blu notte (il blu del logo) per hero e chiusure, superfici chiare, bordeaux del marchio solo sulle azioni */
:root {
  --bg: #F3F3F6;
  --surface: #FFFFFF;
  --ink: #15172B;
  --muted: #5A5D72;
  --line: #DCDDE5;
  --steel: #13173F;
  --steel-2: #1F2457;
  --on-steel: #EEF0F8;
  --on-steel-muted: #AEB2CF;
  --brass: #9E1935;
  --brass-hover: #84122B;
  --on-brass: #FFFFFF;
  --brass-ink: #9E1935;
  --accent-hi: #DB5570;
  --ok: #2E7D4F;
  --err: #B3261E;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0F24; --surface: #161A35; --ink: #ECEDF5; --muted: #A4A7BF; --line: #2A2E4D;
    --steel: #080A1B; --steel-2: #1A1E3D; --on-steel: #ECEDF5; --on-steel-muted: #A4A7BF;
    --brass: #C2304F; --brass-hover: #D44665; --on-brass: #FFFFFF; --brass-ink: #F2899D; --accent-hi: #F2899D;
    --ok: #5CC28A; --err: #FF8A80; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0F24; --surface: #161A35; --ink: #ECEDF5; --muted: #A4A7BF; --line: #2A2E4D;
  --steel: #080A1B; --steel-2: #1A1E3D; --on-steel: #ECEDF5; --on-steel-muted: #A4A7BF;
  --brass: #C2304F; --brass-hover: #D44665; --on-brass: #FFFFFF; --brass-ink: #F2899D; --accent-hi: #F2899D;
  --ok: #5CC28A; --err: #FF8A80; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--steel); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1; text-wrap: balance; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.mono { font-family: var(--f-mono); }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: .95em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brass); color: var(--on-brass); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--brass) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:hover { background: var(--brass-hover); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.topbar { background: var(--steel); color: var(--on-steel-muted); font-size: .82rem; }
.topbar .wrap { display: flex; gap: 8px 24px; justify-content: space-between; flex-wrap: wrap; padding-block: 8px; }
.topbar strong { color: var(--on-steel); font-weight: 600; }
.topbar .live { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 0 var(--accent-hi); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font-family: var(--f-display); font-weight: 900; font-size: 1.55rem; line-height: .9; text-transform: uppercase; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .62rem; letter-spacing: .2em; color: var(--muted); margin-top: 4px; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a.link { text-decoration: none; font-weight: 600; padding: 10px 14px; color: var(--muted); }
nav.main a.link:hover { color: var(--ink); }
nav.main a.link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--brass); }
nav.main .btn { padding: .7em 1.1em; margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  nav.main {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    display: none;
  }
  nav.main.open { display: flex; }
  nav.main a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  nav.main a.link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--brass); padding-left: 14px; }
  nav.main .btn { margin: 14px 0 0; }
}

/* Hero */
.hero { background: var(--steel); color: var(--on-steel); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding-block: 60px 68px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); font-weight: 900; text-transform: uppercase; line-height: .88; }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero p.lead { font-size: 1.15rem; color: var(--on-steel-muted); max-width: 33em; margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .eyebrow { color: var(--on-steel-muted); margin-bottom: 18px; display: block; }
.hero .callnum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--steel-2); }
.hero .callnum b { font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 800; user-select: all; font-variant-numeric: tabular-nums; }
.hero .callnum span { color: var(--on-steel-muted); font-size: .92rem; }

.hero-photo { margin: 0; position: relative; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--on-steel) 10%, transparent); }
.hero-photo img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 55%; background: var(--steel-2); }
.hero-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-photo figcaption span { background: color-mix(in srgb, #000 70%, transparent); color: #fff; padding: 5px 9px; border-radius: 2px; }
.hero-photo figcaption span + span { background: var(--brass); color: var(--on-brass); }
@media (max-width: 860px) { .hero-photo img { aspect-ratio: 1 / 1; object-position: 35% 62%; } .hero-photo figcaption { top: 12px; bottom: auto; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 52px; } }

/* Fatti chiave */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--line); min-width: 0; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--f-display); font-size: 2.2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 820px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 14px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sezioni */
section.block { padding-block: 80px; }
.tight { padding-top: 0 !important; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; margin-top: 8px; }
.section-head p { color: var(--muted); max-width: 36em; }
.section-head a.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 2px; }

/* Griglia servizi (home) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc-tile { background: var(--surface); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; transition: background .15s; }
.svc-tile:hover { background: color-mix(in srgb, var(--brass) 8%, var(--surface)); }
.svc-tile svg { width: 42px; height: 42px; color: var(--ink); }
.svc-tile h3 { font-size: 1.7rem; font-weight: 800; text-transform: uppercase; }
.svc-tile p { color: var(--muted); font-size: .95rem; }
.svc-tile .spec { margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: .74rem; color: var(--brass-ink); letter-spacing: .04em; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* Procedura chiamata */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; min-width: 0; }
.step::before { counter-increment: step; content: "Passo " counter(step); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.step h3 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Riconosci la serratura */
.checker { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.checker > * { min-width: 0; }
.key-opts { display: grid; gap: 10px; margin-top: 22px; }
.key-opt { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; cursor: pointer; }
.key-opt svg { width: 92px; height: 36px; color: var(--muted); }
.key-opt b { display: block; font-weight: 700; }
.key-opt span { color: var(--muted); font-size: .88rem; }
.key-opt[aria-pressed="true"] { border-color: var(--brass); box-shadow: inset 4px 0 0 var(--brass); }
.key-opt[aria-pressed="true"] svg { color: var(--brass-ink); }
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.level { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; flex-wrap: wrap; }
.meter { display: flex; gap: 4px; }
.meter i { width: 26px; height: 10px; border-radius: 2px; background: var(--line); }
.meter i.on { background: var(--lvl, var(--brass)); }
.level b { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lvl, var(--brass)); }
.verdict h3 { font-size: 2rem; font-weight: 800; text-transform: uppercase; }
.verdict p { color: var(--muted); margin-top: 10px; }
.verdict ul { margin: 14px 0 18px; padding-left: 1.1em; }
.verdict li { margin-bottom: 6px; }
.verdict li::marker { color: var(--brass-ink); }
@media (max-width: 860px) { .checker { grid-template-columns: 1fr; gap: 28px; } }

/* Professionisti */
.pro { background: var(--surface); border-block: 1px solid var(--line); }
.pro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 64px; align-items: start; }
.pro .wrap > * { min-width: 0; }
.pro h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin-top: 8px; }
.pro p { color: var(--muted); margin-top: 14px; max-width: 34em; }
.pro-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pro-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pro-list dt { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pro-list dd { margin: 0; }
@media (max-width: 860px) { .pro .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pro-list div { grid-template-columns: 1fr; gap: 2px; } }

/* Zone */
.zones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.zones span { border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 999px; font-size: .9rem; }
.zones span.core { border-color: var(--ink); font-weight: 600; }
.zones-note { color: var(--muted); margin-top: 14px; font-size: .92rem; }

/* Banda CTA */
.cta-band { background: var(--steel); color: var(--on-steel); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding-block: 56px; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; text-transform: uppercase; }
.cta-band p { color: var(--on-steel-muted); margin-top: 12px; max-width: 32em; }
.phone-card { border: 1px solid var(--steel-2); background: var(--steel-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.phone-card .num { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: .02em; user-select: all; font-variant-numeric: tabular-nums; }
.phone-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.phone-card .btn { flex: 1 1 auto; }
.phone-card .eyebrow { color: var(--on-steel-muted); }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Pagina interna */
.page-hero { background: var(--steel); color: var(--on-steel); }
.page-hero .wrap { padding-block: 56px 48px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 900; text-transform: uppercase; margin-top: 10px; }
.page-hero p { color: var(--on-steel-muted); max-width: 40em; margin-top: 16px; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--on-steel-muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 600 .92rem/1 var(--f-body); padding: 10px 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc-list { display: grid; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 72px 1fr 280px; gap: 28px; padding-block: 32px; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.svc-row > * { min-width: 0; }
.svc-row > svg { width: 56px; height: 56px; }
.svc-row h3 { font-size: 2.1rem; font-weight: 800; text-transform: uppercase; }
.svc-row .for { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 12px; }
.svc-row .for span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; }
.svc-row p { color: var(--muted); max-width: 40em; }
.svc-row ul { margin: 14px 0 0; padding-left: 1.1em; }
.svc-row ul li { margin-bottom: 4px; }
.svc-row ul li::marker { color: var(--brass-ink); }
.svc-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.svc-side dl { margin: 0; display: grid; gap: 10px; }
.svc-side dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-side dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.svc-side .btn { width: 100%; padding: .8em 1em; font-size: .95rem; }
.svc-row.urgent .svc-side { border-color: var(--brass); }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 56px 1fr; gap: 18px; }
  .svc-row > svg { width: 44px; height: 44px; }
  .svc-side { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .svc-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--f-display); font-size: 1.9rem; color: var(--brass-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
form.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 20px; }
form.quote h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; }
form.quote .intro { color: var(--muted); margin-top: -8px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } form.quote { padding: 20px; } }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.err { color: var(--err); font-size: .85rem; display: none; }
.field.invalid .err { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; font-weight: 500; background: var(--bg); }
.radios input { accent-color: var(--brass-ink); margin: 0; }
.radios label:has(input:checked) { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--bg)); }
.urgent-hint { border: 1px solid var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--surface)); border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; }
.urgent-hint b { font-family: var(--f-mono); user-select: all; }
.pro-fields { border-left: 3px solid var(--brass); padding-left: 16px; display: grid; gap: 16px; }
.drop { position: relative; border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; color: var(--muted); font-size: .92rem; cursor: pointer; background: var(--bg); }
.drop.over { border-color: var(--brass); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs figure { margin: 0; width: 72px; font-size: .68rem; color: var(--muted); overflow: hidden; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); display: block; }
.thumbs figcaption { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { accent-color: var(--brass-ink); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.success { border: 1px solid var(--ok); border-radius: var(--radius); padding: 22px; background: color-mix(in srgb, var(--ok) 7%, var(--surface)); display: grid; gap: 10px; }
.success h3 { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; color: var(--ok); }
.success dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 6px 0 0; font-size: .92rem; }
.success dt { color: var(--muted); }
.success dd { margin: 0; overflow-wrap: anywhere; }
.note { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

.info-stack { display: grid; gap: 20px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.info-card.dark { background: var(--steel); color: var(--on-steel); border-color: var(--steel); }
.info-card h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.info-card .big { font-family: var(--f-display); font-size: 2.3rem; font-weight: 800; user-select: all; font-variant-numeric: tabular-nums; line-height: 1.1; }
.info-card p { color: var(--muted); font-size: .95rem; }
.info-card.dark p { color: var(--on-steel-muted); }
.info-card .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.info-card .btn { padding: .7em 1em; font-size: .92rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-family: var(--f-mono); font-size: .88rem; }
.hours tr.today td { font-weight: 700; color: var(--brass-ink); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.status-pill.open { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.status-pill.closed { background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: var(--steel); color: var(--on-steel-muted); font-size: .9rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
footer.site h4 { font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-steel); margin: 0 0 12px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--on-steel); }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.site .brand-name { color: var(--on-steel); }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid var(--steel-2); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
@media (max-width: 720px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* Barra chiamata mobile */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--steel); border-top: 1px solid var(--steel-2);
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .callbar .btn { flex: 1; padding: .85em .6em; font-size: .95rem; }
  .callbar .btn-ghost { color: var(--on-steel); }
  footer.site { padding-bottom: 72px; }
}

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 70; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 640px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }


body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brass); color: var(--on-brass); padding: 10px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

/* Briciole di pane */
.crumbs { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-steel-muted); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-steel); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Pagina servizio */
.split { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.split > * { min-width: 0; }
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 1.1em; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brass-ink); }
.side-sticky { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .side-sticky { position: static; } }
.svc-row .more-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 2px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .related { grid-template-columns: 1fr; } }

/* Modulo: esito invio */
.send-fail { border: 1px solid var(--err); border-radius: var(--radius); padding: 16px; background: color-mix(in srgb, var(--err) 6%, var(--surface)); display: grid; gap: 10px; font-size: .95rem; }
.send-fail .row { display: flex; gap: 8px; flex-wrap: wrap; }
.send-fail .btn { padding: .7em 1em; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .6; cursor: progress; }
.wa-hint { font-size: .9rem; color: var(--muted); }
@media (max-width: 420px) { header.site .brand-name { font-size: 1.22rem; } header.site .brand-name small { font-size: .56rem; letter-spacing: .14em; } header.site .brand { gap: 10px; } }
.work-photo { margin: 6px 0 30px; max-width: 520px; }
.work-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.work-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--brass); }
.about { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 48px; align-items: center; }
.about > * { min-width: 0; }
.about .work-photo { margin: 0; }
.about-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin: 8px 0 14px; }
.about p { color: var(--muted); max-width: 36em; }
.about ul { margin: 16px 0 24px; padding-left: 1.1em; }
.about li { margin-bottom: 6px; }
.about li::marker { color: var(--brass-ink); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.ph-frame { position: relative; }
.work-photo.wide { max-width: 100%; }
.work-photo.wide img { aspect-ratio: 16 / 9; }
.ph-label { position: absolute; top: 12px; font: 600 .78rem/1 var(--f-body); padding: 7px 10px; border-radius: 3px; background: color-mix(in srgb, #000 72%, transparent); color: #fff; letter-spacing: .02em; }
.ph-label.l { left: 12px; }
.ph-label.r { left: calc(50% + 12px); background: var(--brass); color: var(--on-brass); }
@media (max-width: 480px) { .ph-label { font-size: .68rem; padding: 5px 7px; top: 8px; } .ph-label.l { left: 8px; } .ph-label.r { left: calc(50% + 8px); } }
.info-stack .work-photo { margin: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.duo > * { min-width: 0; padding: 28px; }
.duo-title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; text-transform: uppercase; margin: 8px 0 12px; }
.zones.pay { margin-top: 10px; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } .duo > * { padding: 22px; } }

/* Mappa zona di intervento */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) 1fr; gap: 40px; align-items: center; }
.map-wrap > * { min-width: 0; }
.map-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.zone-map { display: block; width: 100%; height: auto; max-width: 100%; }
.zone-map .m-area { fill: color-mix(in srgb, var(--brass) 14%, transparent); stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 5 4; }
.zone-map .m-dot { fill: var(--ink); opacity: .55; transition: opacity .15s, r .15s; }
.zone-map .m-dot.big { opacity: .9; }
.zone-map .m-hit { fill: transparent; }
.zone-map .m-ring { fill: color-mix(in srgb, var(--brass) 30%, transparent); }
.zone-map .m-main { fill: var(--brass); stroke: var(--ink); stroke-width: 1.5; }
.zone-map .m-city { cursor: pointer; outline: none; }
.zone-map .m-city:hover .m-dot, .zone-map .m-city:focus-visible .m-dot, .zone-map .m-city.on .m-dot { opacity: 1; fill: var(--brass-ink); r: 5.5; }
.zone-map .m-city:focus-visible .m-hit { stroke: var(--brass); stroke-width: 2; }
.zone-map .m-lbl { font: 500 13px var(--f-body); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.zone-map .m-lbl.main { font: 800 19px var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.zone-map .m-compass { font: 600 12px var(--f-mono); fill: var(--muted); }
.zone-map .m-compass-a { fill: var(--muted); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .82rem; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: .6; }
.map-legend i.lg-main { background: var(--brass); opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.map-legend i.lg-area { width: 16px; border-radius: 3px; background: color-mix(in srgb, var(--brass) 18%, transparent); border: 1.5px dashed var(--brass); opacity: 1; }
.map-text p { color: var(--muted); max-width: 34em; }
.map-picked { margin-top: 12px; color: var(--ink) !important; font-weight: 600; }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .zone-map .m-lbl { font-size: 17px; stroke-width: 5px; } .zone-map .m-lbl.main { font-size: 24px; } .map-card { padding: 8px; } }

/* Logo Defra Multiservice (colori del marchio, sempre su fondo bianco) */
.logo-lockup { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; border-radius: 8px; padding: 4px 12px 4px 4px; box-shadow: 0 0 0 1px var(--line); flex: none; }
.lk-mark { width: 38px; height: 38px; flex: none; }
.lk-text { display: flex; flex-direction: column; font-family: "Tinos", "Times New Roman", Times, serif; line-height: 1; }
.lk-text b { font-weight: 400; font-size: 1.45rem; color: #01003F; letter-spacing: .03em; }
.lk-text i { font-style: normal; font-size: .9rem; color: #9E1935; margin-top: 2px; }
.brand-sub { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; line-height: 1; text-transform: uppercase; letter-spacing: .03em; padding-left: 12px; border-left: 2px solid var(--line); }
footer.site .logo-lockup { box-shadow: none; }
footer.site .brand-sub { border-left-color: var(--steel-2); }
@media (max-width: 420px) { .brand-sub { display: none; } }
.brands { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.brand-list li { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); opacity: .78; }
.brand-list li.more { font-family: var(--f-body); font-weight: 500; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--muted); opacity: 1; }
.co-data { margin: 14px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); font-size: .92rem; }
.co-data div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.co-data dt { color: var(--muted); }
.co-data dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.legal-text h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 34px; }
.legal-text .upd { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.legal-text b { color: var(--ink); }
.legal-text a, .check a { color: inherit; text-decoration: underline; }
footer.site .legal a { text-decoration: underline; }

/* Pulsanti sulle bande scure: il bordeaux resta pieno, il contorno usa il testo chiaro */
.hero .btn-ghost, .cta-band .btn-ghost, .info-card.dark .btn-ghost, .page-hero .btn-ghost { color: var(--on-steel); }
/* WhatsApp sempre a portata su computer */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--brass); color: var(--on-brass); font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(0,0,0,.45); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--brass-hover); }
@media (max-width: 640px) { .wa-float { display: none; } }
.area-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.area-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.area-nav a:hover { border-color: var(--brass); color: var(--brass-ink); }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 90px; min-width: 0; }
.area h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.area p { color: var(--muted); }
.area-comuni { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area-comuni li { font-size: .88rem; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
@media (max-width: 820px) { .areas { grid-template-columns: 1fr; } }
.zones.pay span.sat { border-color: var(--brass); color: var(--brass-ink); }
