/* Affittotettofotovoltaico.com — foglio di stile unico, nessuna dipendenza esterna */

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

:root {
  --blu: #1E3FD0;          /* blu cella fotovoltaica */
  --blu-scuro: #1631A8;
  --notte: #0E1A4D;        /* fondo della pianta, come una cianografia */
  --ink: #151A2D;
  --grigio: #555C75;       /* testo secondario */
  --carta: #F2F4FA;
  --linea: #D3D9E8;
  --hi: #E2F23B;           /* giallo alta visibilità, quello dei gilet in copertura */
  --hi-scuro: #D2E322;
  --verde: #0E7C40;
  --rosso: #B8261B;
  --bianco: #fff;
  --display: "Bricolage", "Arial Narrow", Arial, sans-serif;
  --testo: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gut: 22px;
  --sez: clamp(3.5rem, 8vw, 6.5rem);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--testo); font-size: 1.0625rem; line-height: 1.62; color: var(--ink); background: var(--bianco); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blu); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--blu-scuro); }
:focus-visible { outline: 3px solid var(--blu); outline-offset: 3px; border-radius: 3px; }
p, ul, ol, table, figure { margin: 0 0 1.15em; }
b, strong { font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salta { position: absolute; left: -999px; top: 0; background: var(--hi); color: var(--ink); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.salta:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.022em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 5.3vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.18; font-weight: 700; letter-spacing: -.012em; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.32rem); line-height: 1.5; max-width: 60ch; }
.grigio { color: var(--grigio); }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .65rem 1.2rem; border: 2px solid var(--ink); border-radius: var(--r); font: 650 1.0625rem/1.2 var(--testo); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn .ico { flex: none; }
.btn--call { background: var(--hi); color: var(--ink); }
.btn--call:hover { background: var(--hi-scuro); color: var(--ink); }
.btn--wa { background: var(--verde); border-color: var(--verde); color: #fff; }
.btn--wa:hover { background: #0A6332; border-color: #0A6332; color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }

/* ---------- Testata del sito ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bianco); border-bottom: 1px solid var(--linea); }
.site-header__in { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.logo { flex: none; display: block; }
.logo img { width: 183px; height: 44px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; }
.nav a { display: block; padding: .5rem 0; color: var(--ink); font-weight: 550; font-size: .98rem; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blu); color: var(--blu); }
.header-tel { flex: none; display: flex; align-items: center; gap: .55rem; padding: .45rem .85rem; background: var(--hi); border: 2px solid var(--ink); border-radius: var(--r); color: var(--ink); text-decoration: none; line-height: 1.1; }
.header-tel:hover { background: var(--hi-scuro); color: var(--ink); }
.header-tel small { display: block; font-size: .72rem; font-weight: 550; }
.header-tel b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.nav-toggle { display: none; flex: none; margin-left: auto; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--bianco); cursor: pointer; padding: 0; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 0 auto; border-radius: 2px; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 7px; left: 0; }
@media (max-width: 1240px) {
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .header-tel { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bianco); border-bottom: 2px solid var(--ink); margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .4rem var(--gut) 1rem; }
  .nav a { padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--linea); }
}
@media (max-width: 560px) {
  .site-header__in { gap: .6rem; min-height: 66px; }
  .logo img { width: 142px; height: 34px; }
  .header-tel { padding: .4rem .6rem; }
  .header-tel small, .header-tel .ico { display: none; }
  .header-tel b { font-size: 1.05rem; }
}

/* ---------- Sezioni ---------- */
.sez { padding-block: var(--sez); }
.sez--stretta { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.sez--carta { background: var(--carta); }
.sez--notte { background: var(--notte); color: #E4E8F8; }
.sez--notte h2, .sez--notte h3 { color: #fff; }
.sez--notte a:not(.btn) { color: var(--hi); }
.sez--notte .form a:not(.btn) { color: var(--blu); }
.sez__testa { max-width: 62ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.due { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.due--alto { align-items: start; }
@media (max-width: 900px) { .due { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero ---------- */
.hero { background: var(--carta); padding-block: clamp(2.2rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__sotto { margin-top: 1.4rem; font-size: .98rem; color: var(--grigio); max-width: 52ch; }
@media (max-width: 980px) { .hero__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Il metro: scala delle superfici con pianta ---------- */
.metro { background: var(--notte); color: #E4E8F8; border-radius: 16px; padding: clamp(1.1rem, 2.4vw, 1.75rem); position: relative; }
.metro__titolo { font-family: var(--display); font-weight: 750; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; color: #fff; margin: 0 0 .9rem; letter-spacing: -.015em; }
.metro__in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.metro__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.metro__opts label { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: .45rem .5rem; border: 1.5px solid #5B6BB5; border-radius: 8px; font-weight: 600; font-size: .98rem; line-height: 1.15; color: #fff; cursor: pointer; }
.metro__opts label:hover { border-color: #fff; }
.metro__plan { display: block; width: 100%; height: auto; margin: 1rem 0 .4rem; background:
  linear-gradient(#ffffff0f 1px, transparent 1px) 0 0 / 100% 20px,
  linear-gradient(90deg, #ffffff0f 1px, transparent 1px) 0 0 / 20px 100%; border-radius: 6px; }
.metro__g { display: none; }
.metro__g .tetto { fill: #1A2E8F; }
.metro__g .pv { stroke: none; }
.metro__g.g1 .tetto, .metro__g.g2 .tetto { fill: #ffffff14; }
.metro__g .bordo { fill: none; stroke: #fff; stroke-width: 1.6; }
.metro__g .colmo { stroke: #fff; stroke-width: 1; stroke-dasharray: 5 4; opacity: .7; }
.metro__g .vicino { fill: none; stroke: #9FB0FF; stroke-width: 1.2; stroke-dasharray: 4 3; }
.metro__plan .quota { fill: none; stroke: #C9D3FF; stroke-width: 1; }
.metro__plan .lab { fill: #C9D3FF; font: 500 12.5px var(--testo); }
.metro__plan .area { fill: #fff; font: 750 16px var(--display); paint-order: stroke; stroke: var(--notte); stroke-width: 4px; stroke-linejoin: round; }
.metro__plan .campo rect, .metro__plan .campo line, .metro__plan .campo circle { fill: none; stroke: var(--hi); stroke-width: 1.3; stroke-dasharray: 6 4; }
.metro__plan .lab--campo { fill: var(--hi); paint-order: stroke; stroke: var(--notte); stroke-width: 4px; stroke-linejoin: round; }
.metro__ans { display: none; }
.metro__ans p { margin: 0 0 .7rem; font-size: 1rem; line-height: 1.5; }
.metro__esito { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 1.7rem) !important; line-height: 1.12 !important; color: var(--hi); letter-spacing: -.015em; }
.metro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem !important; }
.metro__cta .btn { border-color: var(--hi); }
.metro__tel { color: #fff !important; font-weight: 600; white-space: nowrap; }
/* stato scelto */
.metro__in:nth-of-type(1):checked ~ .metro__opts label:nth-child(1),
.metro__in:nth-of-type(2):checked ~ .metro__opts label:nth-child(2),
.metro__in:nth-of-type(3):checked ~ .metro__opts label:nth-child(3),
.metro__in:nth-of-type(4):checked ~ .metro__opts label:nth-child(4) { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.metro__in:nth-of-type(1):focus-visible ~ .metro__opts label:nth-child(1),
.metro__in:nth-of-type(2):focus-visible ~ .metro__opts label:nth-child(2),
.metro__in:nth-of-type(3):focus-visible ~ .metro__opts label:nth-child(3),
.metro__in:nth-of-type(4):focus-visible ~ .metro__opts label:nth-child(4) { outline: 3px solid #fff; outline-offset: 2px; }
.metro__in:nth-of-type(1):checked ~ .metro__plan .g1, .metro__in:nth-of-type(2):checked ~ .metro__plan .g2,
.metro__in:nth-of-type(3):checked ~ .metro__plan .g3, .metro__in:nth-of-type(4):checked ~ .metro__plan .g4 { display: block; }
.metro__in:nth-of-type(1):checked ~ .a1, .metro__in:nth-of-type(2):checked ~ .a2,
.metro__in:nth-of-type(3):checked ~ .a3, .metro__in:nth-of-type(4):checked ~ .a4 { display: block; }
@media (max-width: 420px) { .metro__opts label { font-size: .92rem; } }
.prose .metro { margin-block: 1.6rem; }
.prose .metro__plan { max-width: 540px; }
.prose .metro p { max-width: none; }

/* ---------- Striscia di foto ---------- */
.striscia { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.striscia img { width: 100%; height: clamp(180px, 26vw, 330px); object-fit: cover; border-radius: var(--r); }
.striscia + p { margin-top: 1rem; color: var(--grigio); font-size: .98rem; }
@media (max-width: 700px) { .striscia { grid-template-columns: 1fr 1fr; } .striscia img:first-child { grid-column: 1 / -1; } }

/* ---------- Le domande (home) ---------- */
.domande { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.domande article { padding: 1.6rem 0; border-top: 2px solid var(--ink); }
.domande h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; }
.domande p { max-width: 52ch; }
.domande a.piu, a.piu { font-weight: 650; }
@media (max-width: 800px) { .domande { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tabella "tu / noi" e tabelle in genere ---------- */
.tab { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tab th, .tab td { text-align: left; vertical-align: top; padding: .85rem .9rem .85rem 0; border-bottom: 1px solid var(--linea); }
.tab thead th { font-family: var(--display); font-weight: 750; font-size: 1.05rem; border-bottom: 2px solid var(--ink); padding-top: 0; }
.tab tbody th { font-weight: 650; }
.tab td:last-child, .tab th:last-child { padding-right: 0; }
.tab .n { font-family: var(--display); font-weight: 800; color: var(--blu); font-size: 1.35rem; line-height: 1.1; width: 2.4rem; }
.sez--carta .tab th, .sez--carta .tab td { border-bottom-color: #C6CDE0; }
.tab-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) {
  .tab--pila thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tab--pila tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--linea); }
  .tab--pila th, .tab--pila td { display: block; border: 0; padding: .15rem 0; width: auto; }
  .tab--pila td[data-l]::before { content: attr(data-l) ": "; font-weight: 650; }
  .tab--pila .n { display: inline-block; width: auto; margin-right: .4rem; }
}

/* ---------- Passi in sequenza ---------- */
.passi { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: passo; }
.passi > li { counter-increment: passo; position: relative; padding: 0 0 1.7rem 3.4rem; }
.passi > li::before { content: counter(passo); position: absolute; left: 0; top: -.15rem; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--blu); width: 2.2rem; }
.passi > li::after { content: ""; position: absolute; left: .62rem; top: 2.3rem; bottom: .4rem; width: 2px; background: var(--linea); }
.passi > li:last-child::after { display: none; }
.passi h2, .passi h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 750; margin-bottom: .35em; }
.passi p:last-child { margin-bottom: 0; }
.passi .chi { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin-top: .6rem; font-size: .98rem; }
.passi .chi p { margin: 0; padding-top: .5rem; border-top: 1px solid var(--linea); }
.passi .chi b { display: block; font-family: var(--display); }
@media (max-width: 560px) { .passi .chi { grid-template-columns: 1fr; gap: .6rem; } .passi > li { padding-left: 2.7rem; } }

/* ---------- Testata delle pagine interne ---------- */
.testata { background: var(--carta); padding-block: clamp(1.4rem, 3vw, 2.2rem) clamp(2.2rem, 5vw, 3.8rem); }
.testata__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.testata--foto .testata__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.testata h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.testata--foto h1 { max-width: none; }
.testata__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.briciole { font-size: .9rem; margin-bottom: 1rem; }
.briciole ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; color: var(--grigio); }
.briciole li + li::before { content: "/"; margin-right: .35rem; color: #9AA3BD; }
.briciole a { color: var(--grigio); }
@media (max-width: 900px) { .testata--foto .testata__in { grid-template-columns: minmax(0, 1fr); } .testata__foto img { aspect-ratio: 16 / 9; } }

/* ---------- Corpo delle pagine interne ---------- */
.corpo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.corpo > aside { position: sticky; top: 100px; }
@media (max-width: 980px) { .corpo { grid-template-columns: minmax(0, 1fr); } .corpo > aside { position: static; order: -1; } }
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol:not(.passi):not(.clausole) { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blu); font-weight: 700; }
.prose .tab { margin-block: 1.4rem; }

.breve { border: 2px solid var(--ink); border-radius: var(--r); padding: 1.2rem 1.25rem 1.1rem; background: var(--bianco); font-size: .98rem; }
.breve__t { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 0 0 .6rem; }
.breve ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.breve li { padding: .5rem 0; border-top: 1px solid var(--linea); line-height: 1.4; }
.breve__tel { margin: 0; padding-top: .9rem; border-top: 2px solid var(--ink); line-height: 1.2; }
.breve__tel a { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 800; font-size: 1.55rem; color: var(--ink); text-decoration: none; }
.breve__tel span { display: block; font-size: .85rem; color: var(--grigio); margin-top: .15rem; }
.breve__wa { display: flex; gap: 1.1rem; margin: .8rem 0 0; }
.breve__wa a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; }

/* ---------- Componenti di testo ---------- */
.chiama { display: flex; gap: .7rem; align-items: flex-start; margin: 1.6rem 0; padding: .9rem 1rem; background: var(--hi); border-radius: var(--r); color: var(--ink); font-weight: 550; }
.chiama .ico { flex: none; margin-top: .2rem; }
.chiama a { color: var(--ink); font-weight: 750; white-space: nowrap; }
.nota { margin: 1.6rem 0; padding: 1rem 1.15rem; background: var(--carta); border-left: 4px solid var(--blu); border-radius: 0 var(--r) var(--r) 0; }
.nota > :last-child { margin-bottom: 0; }
.nota b:first-child { font-family: var(--display); }
.punti { list-style: none; margin: 0 0 1.2rem; padding: 0 !important; }
.punti li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.punti li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--blu); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 16.2 4.8 11.8l-1.6 1.6 6 6L21 7.600 19.400 6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 16.2 4.8 11.8l-1.6 1.6 6 6L21 7.600 19.400 6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.punti--no li::before { background: var(--rosso); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.400 5 5 6.400 10.600 12 5 17.600 6.400 19 12 13.400 17.600 19 19 17.600 13.400 12 19 6.400 17.600 5 12 10.600z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.400 5 5 6.400 10.600 12 5 17.600 6.400 19 12 13.400 17.600 19 19 17.600 13.400 12 19 6.400 17.600 5 12 10.600z'/%3E%3C/svg%3E"); }
.sez--notte .punti li::before { background: var(--hi); }
.foto { margin: 1.8rem 0; }
.foto img { width: 100%; border-radius: var(--r); }
.foto figcaption { font-size: .9rem; color: var(--grigio); margin-top: .5rem; }
.evid { background: linear-gradient(transparent 30%, var(--hi) 30%); padding-inline: .15em; font-weight: 650; }

/* Clausole del contratto */
.clausole { list-style: none; margin: 1.5rem 0; padding: 0; counter-reset: art; }
.clausole > li { counter-increment: art; padding: 1.3rem 0; border-top: 1px solid var(--linea); margin: 0; }
.clausole > li:first-child { border-top: 2px solid var(--ink); }
.clausole h3 { margin: 0 0 .4em; }
.clausole h3::before { content: "Art. " counter(art); display: block; font-family: var(--testo); font-weight: 650; font-size: .88rem; letter-spacing: 0; color: var(--blu); margin-bottom: .25rem; }
.clausole p:last-child { margin-bottom: 0; }
.clausole .guarda { font-size: .98rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--linea); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2.6rem 1.05rem 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.17rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: .7rem; height: .7rem; border-right: 2.5px solid var(--blu); border-bottom: 2.5px solid var(--blu); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 0 1.2rem; max-width: 68ch; }
.faq__a > :last-child { margin-bottom: 0; }

/* Rimandi */
.rimandi { margin: 2.5rem 0 0; }
.rimandi__t { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin: 0 0 .6rem; }
.rimandi ul { list-style: none; margin: 0; padding: 0 !important; border-top: 2px solid var(--ink); }
.rimandi li { margin: 0; border-bottom: 1px solid var(--linea); }
.rimandi a { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .2rem 1.2rem; padding: .85rem 0; text-decoration: none; color: var(--ink); }
.rimandi a b { color: var(--blu); text-decoration: underline; text-underline-offset: .18em; }
.rimandi a span { color: var(--grigio); }
@media (max-width: 600px) { .rimandi a { grid-template-columns: minmax(0, 1fr); } }

/* Edifici (home) */
.edifici { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.edifici article img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 1rem; }
.edifici h3 a { color: var(--ink); }
@media (max-width: 860px) { .edifici { grid-template-columns: minmax(0, 1fr); } .edifici article img { aspect-ratio: 16 / 9; } }

/* Città */
.citta-reg { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .3rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--linea); }
.citta-reg:first-of-type { border-top: 2px solid var(--ink); }
.citta-reg h3 { margin: 0; font-size: 1.2rem; }
.citta-reg ul { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.citta-reg li { margin: 0; }
@media (max-width: 700px) { .citta-reg { grid-template-columns: minmax(0, 1fr); } }
.zone { list-style: none; margin: 0 0 1.2rem; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .45rem; }
.zone li { margin: 0; padding: .3rem .7rem; border: 1.5px solid var(--linea); border-radius: 999px; font-size: .95rem; font-weight: 550; background: var(--bianco); }

/* ---------- Modulo ---------- */
.modulo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .modulo { grid-template-columns: minmax(0, 1fr); } }
.dopo { list-style: none; counter-reset: d; margin: 1.5rem 0; padding: 0; }
.dopo li { counter-increment: d; position: relative; padding: .7rem 0 .7rem 2.6rem; border-top: 1px solid #ffffff2e; }
.dopo li::before { content: counter(d); position: absolute; left: 0; top: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.2; color: var(--hi); }
.dopo b { color: #fff; }
.modulo__alt { margin: 1.8rem 0 0; font-weight: 650; color: #fff; }
.modulo__txt .btns { margin-top: .8rem; }
.modulo__txt .btn--call { border-color: var(--hi); }
.modulo__mail { display: flex; align-items: center; gap: .5rem; margin-top: 1.1rem; }
.form { background: var(--bianco); color: var(--ink); border-radius: 16px; padding: clamp(1.1rem, 2.6vw, 1.9rem); }
.form fieldset { border: 0; margin: 0 0 .6rem; padding: 0; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 800; font-size: 1.2rem; padding: 0; margin-bottom: .7rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f { display: block; margin-bottom: .9rem; }
.f > span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.f em { font-style: normal; font-weight: 400; color: var(--grigio); font-size: .88rem; }
.f input[type=text], .f input[type=tel], .f input[type=email], .f select, .f textarea { width: 100%; min-height: 48px; padding: .6rem .75rem; border: 1.5px solid #8C94AD; border-radius: 8px; background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--testo); }
.f textarea { min-height: 84px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid var(--blu); outline-offset: 1px; border-color: var(--blu); }
.f [aria-invalid="true"] { border-color: var(--rosso); background: #FDECEA; }
.chips { display: flex; gap: .4rem; }
.chips label { flex: 1; position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid #8C94AD; border-radius: 8px; font-weight: 600; cursor: pointer; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blu); outline-offset: 2px; }
.f-check { display: flex; gap: .6rem; align-items: flex-start; margin: .2rem 0 1rem; font-size: .95rem; line-height: 1.4; }
.f-check input { flex: none; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--blu); }
.form__note { margin: .8rem 0 0; font-size: .9rem; color: var(--grigio); }
.form__error { margin: 0 0 1rem; padding: .75rem .9rem; background: #FDECEA; border-left: 4px solid var(--rosso); border-radius: 0 8px 8px 0; font-weight: 600; color: #7A1810; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Piè di pagina ---------- */
.site-footer { background: #091237; color: #C4CBE6; font-size: .96rem; padding-top: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #fff; }
.site-footer__in { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
.site-footer__brand img { margin-bottom: 1rem; }
.site-footer__tel { line-height: 1.2; }
.site-footer__tel a { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-decoration: none; color: var(--hi); }
.site-footer__tel span { display: block; font-size: .85rem; }
.site-footer__t { font-family: var(--display); font-weight: 750; color: #fff; font-size: 1.08rem; margin: 0 0 .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer__citta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #ffffff26; }
.site-footer__citta ul { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.site-footer__citta li { margin: 0; }
.site-footer__citta a { color: #C4CBE6; }
.site-footer__legal { margin-top: 2rem; padding-block: 1.3rem 1.6rem; border-top: 1px solid #ffffff26; font-size: .86rem; }
.site-footer__legal p { margin: 0 0 .4rem; }
.site-footer__legal a { margin-right: 1rem; }
@media (max-width: 1000px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ---------- Barra fissa su telefono ---------- */
.barra { display: none; }
@media (max-width: 760px) {
  .barra { display: grid; grid-template-columns: 1.25fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .barra a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 56px; color: #fff; font-weight: 650; font-size: .95rem; text-decoration: none; }
  .barra__tel { background: var(--hi); color: var(--ink) !important; }
  .barra__wa { background: var(--verde); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Varie ---------- */
.centro-stretto { max-width: 46rem; }
.contatti-canali { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.contatti-canali > div { padding: 1.2rem 0; border-top: 2px solid var(--ink); }
.contatti-canali .grande { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.15; display: block; margin: .2rem 0 .4rem; overflow-wrap: anywhere; }
.contatti-canali .grande--mail { font-size: clamp(1rem, 1.45vw, 1.2rem); padding-block: .25rem; }
@media (max-width: 800px) { .contatti-canali { grid-template-columns: minmax(0, 1fr); } .contatti-canali .grande--mail { font-size: 1.15rem; } }
.legale h2 { font-size: 1.45rem; margin-top: 1.8em; }
