/* casa-cantiere · Colombo Ristrutturazioni (Milano)
   Ristrutturazioni chiavi in mano. Chiaro calce, rosso «costruzioni» e giallo «demolizioni»
   come nella tavola comparativa che si porta in Comune. Hubot Sans (titoli) + Mona Sans (testo). */

@font-face { font-family: 'Hubot Sans'; src: url('../_font/hubot-sans/hubot-sans-wdth-var.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Mona Sans'; src: url('../_font/mona-sans/mona-sans-wdth-var.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

:root {
  --p: #c23a22;   /* rosso: muri nuovi, bottoni */
  --s: #eeece7;   /* calce */
  --t: #18191b;   /* grafite */
  --a: #d9a52b;   /* giallo: demolizioni */
  --f-titoli: 'Hubot Sans', 'Arial Narrow', system-ui, sans-serif;
  --f-testo: 'Mona Sans', system-ui, sans-serif;

  --su-p: var(--s);
  --linea: color-mix(in oklab, var(--t) 16%, var(--s));
  --tenue: color-mix(in oklab, var(--t) 62%, var(--s));
  --carta: color-mix(in oklab, var(--s) 82%, #fff);
  --bordo: clamp(20px, 4vw, 64px);
  --max: 1560px;
  --curva: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--s); color: var(--t); font-family: var(--f-testo); font-size: 17px; line-height: 1.55; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-titoli); font-weight: 750; line-height: .98; letter-spacing: -.025em; }
p { margin: 0; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.salta { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--t); color: var(--s); padding: 10px 16px; }
.salta:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }

.etichetta { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-titoli); font-stretch: 112%; font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--p); }
.etichetta::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.titolo-sez { font-size: clamp(34px, 4.4vw, 72px); font-stretch: 104%; max-width: 18ch; }
.titolo-sez .riga { padding-bottom: .06em; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 6px 8px 6px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform .5s var(--curva), background .3s, color .3s; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn--pieno { background: var(--p); color: var(--su-p); }
.btn--pieno:hover { background: color-mix(in oklab, var(--p) 85%, var(--t)); }
.btn--linea { padding: 6px 24px; border-color: color-mix(in oklab, var(--t) 30%, var(--s)); }
.btn--linea:hover { border-color: var(--t); }
.btn--chiaro { background: var(--s); color: var(--t); }
.btn--piccolo { min-height: 44px; padding: 4px 20px; font-size: 15px; }
.btn--largo { width: 100%; }
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in oklab, currentColor 16%, transparent); transition: transform .5s var(--curva); }
.btn:hover .btn__ico { transform: translateX(3px); }

/* barra di avanzamento */
.avanzamento { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.avanzamento span { display: block; height: 100%; background: var(--p); transform-origin: 0 50%; transform: scaleX(0); }

/* testata */
.testata { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 28px; height: 80px; padding: 0 var(--bordo); background: color-mix(in oklab, var(--s) 0%, transparent); transition: background .35s, box-shadow .35s, transform .5s var(--curva); }
.testata.filetto { background: color-mix(in oklab, var(--s) 94%, transparent); box-shadow: 0 1px 0 var(--linea); backdrop-filter: blur(10px); }
.testata.nascosta { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-titoli); font-weight: 750; font-stretch: 108%; font-size: 18px; letter-spacing: -.01em; line-height: 1.05; min-width: 0; }
.logo [data-nome] { max-width: 22ch; }
.logo__segno { position: relative; width: 26px; height: 26px; flex: none; border: 2px solid var(--t); }
.logo__segno i { position: absolute; background: var(--p); }
.logo__segno i:first-child { left: 9px; top: -2px; bottom: -2px; width: 3px; }
.logo__segno i:last-child { left: -2px; right: 8px; top: 12px; height: 3px; background: var(--a); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--curva); }
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.testata__destra { display: flex; align-items: center; gap: 18px; }
.lingue { display: flex; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.lingue a { text-decoration: none; opacity: .5; padding: 10px 2px; }
.lingue a[aria-current] { opacity: 1; }
.testata__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.menu-btn { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--s); cursor: pointer; }
.menu-btn__testo { display: grid; height: 20px; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 20px; }
.menu-btn__testo span { transition: transform .5s var(--curva); }
.menu-aperto .menu-btn__testo span { transform: translateY(-100%); }
.menu-btn__segno { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--t); }
.menu-btn__segno i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--s); transition: transform .5s var(--curva); }
.menu-btn__segno i:first-child { top: 13px; }
.menu-btn__segno i:last-child { top: 18px; }
.menu-aperto .menu-btn__segno i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-aperto .menu-btn__segno i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* menu a pannelli sfalsati */
.menu { position: fixed; inset: 0; z-index: 90; }
.menu__strato, .menu__pannello { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); }
.menu__strato--1 { background: var(--a); }
.menu__strato--2 { background: var(--p); }
.menu__pannello { background: var(--t); color: var(--s); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--bordo) 40px; overflow-y: auto; }
.menu__voci { list-style: none; margin: 0; padding: 0; }
.menu__voci li { overflow: hidden; border-bottom: 1px solid color-mix(in oklab, var(--s) 14%, var(--t)); }
.menu__voci a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; text-decoration: none; font-family: var(--f-titoli); font-weight: 700; font-stretch: 108%; font-size: clamp(28px, 6vw, 44px); letter-spacing: -.02em; }
.menu__voci a span { font-size: 13px; font-weight: 600; color: var(--a); letter-spacing: .1em; }
.menu__piede { display: grid; gap: 6px; margin-top: 32px; font-size: 15px; color: color-mix(in oklab, var(--s) 75%, var(--t)); }
.menu__piede a { text-decoration: none; }
.menu-ombra { position: fixed; inset: 0; z-index: 89; background: color-mix(in oklab, var(--t) 40%, transparent); opacity: 0; pointer-events: none; transition: opacity .4s; }
.menu-aperto .menu-ombra { opacity: 1; pointer-events: auto; }

/* HERO */
.hero { min-height: min(100svh, 980px); padding: 132px var(--bordo) 0; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero__dati { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }
.hero__dati li { display: inline-flex; align-items: center; }
.hero__dati li + li::before { content: ""; width: 5px; height: 5px; background: var(--p); margin: 0 18px; }
.hero__dati b { color: var(--t); font-weight: 700; }
.hero__titolo { font-size: clamp(40px, 6.1vw, 118px); font-weight: 780; font-stretch: 100%; letter-spacing: -.04em; line-height: .94; }
.riga-h { display: block; }
.hero__sotto { max-width: 50ch; margin-top: 28px; font-size: clamp(17px, 1.3vw, 20px); color: color-mix(in oklab, var(--t) 78%, var(--s)); }
.hero__azioni { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero__striscia { width: 100%; max-width: 1400px; margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); align-items: start; text-align: left; }
.scatto { margin: 0; }
.scatto--1 { margin-top: 56px; }
.scatto--3 { margin-top: 28px; }
.scatto--4 { margin-top: 84px; }
.scatto__cornice { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--linea); }
.scatto__cornice img { width: 100%; height: 100%; object-fit: cover; }
.scatto figcaption { display: flex; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--tenue); }
.scatto figcaption b { color: var(--t); font-weight: 600; }

/* MARCHI */
.marchi { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--linea); }
.marchi__titolo { text-align: center; font-size: 14px; color: var(--tenue); margin: 0 var(--bordo) 26px; }
.marchi__nastro { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marchi__fila { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 64px; }
.marchi__nastro.pronto .marchi__fila { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-right: 64px; animation: nastro 38s linear infinite; }
.marchi__nastro.pronto:hover .marchi__fila { animation-play-state: paused; }
@keyframes nastro { to { transform: translateX(-50%); } }
.marchi__fila li { white-space: nowrap; font-size: 15px; color: color-mix(in oklab, var(--t) 55%, var(--s)); display: inline-flex; align-items: baseline; gap: 6px; }
.marchi__fila li span { color: var(--t); opacity: .82; }
.m1 { font-family: var(--f-titoli); font-weight: 800; font-stretch: 125%; letter-spacing: .08em; font-size: 20px; }
.m2 { font-family: var(--f-testo); font-weight: 300; font-size: 24px; letter-spacing: -.02em; }
.m3 { font-family: var(--f-titoli); font-weight: 600; font-stretch: 75%; font-size: 21px; letter-spacing: .14em; }
.m4 { font-family: var(--f-titoli); font-weight: 500; font-size: 21px; border: 1.5px solid currentColor; padding: 0 8px; }
.m5 { font-family: var(--f-testo); font-weight: 700; font-stretch: 85%; font-size: 21px; letter-spacing: -.03em; }
.m6 { font-family: var(--f-titoli); font-weight: 900; font-size: 20px; letter-spacing: .3em; }

/* sezioni: misure comuni */
.metodo, .lavori, .tempi, .prezzi, .recensioni, .zone, .sopralluogo, .contatti { padding: clamp(88px, 10vw, 160px) var(--bordo); max-width: var(--max); margin: 0 auto; }

/* METODO */
.metodo__testa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; }
.metodo__testa .etichetta { grid-column: 1 / -1; }
.metodo__testa .titolo-sez { max-width: 16ch; }
.colore { color: var(--p); }
.js .colore { color: transparent; background: linear-gradient(90deg, var(--p) 50%, color-mix(in oklab, var(--t) 22%, var(--s)) 50%); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; }
.metodo__intro { font-size: 18px; color: color-mix(in oklab, var(--t) 78%, var(--s)); max-width: 40ch; }
.metodo__passi { list-style: none; margin: clamp(56px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.metodo__passi li { border-top: 1.5px solid var(--t); padding-top: 22px; }
.passo__n { display: block; font-family: var(--f-testo); font-weight: 700; font-stretch: 112%; font-size: 14px; color: var(--p); margin-bottom: 40px; }
.metodo__passi h3 { font-size: clamp(21px, 1.7vw, 26px); font-stretch: 104%; margin-bottom: 12px; }
.metodo__passi p { font-size: 16px; color: color-mix(in oklab, var(--t) 72%, var(--s)); }
.cifre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.cifre div { padding: 32px 28px 30px 0; display: grid; gap: 8px; }
.cifre div + div { border-left: 1px solid var(--linea); padding-left: 28px; }
.cifre b { font-family: var(--f-testo); font-weight: 760; font-stretch: 112%; font-size: clamp(44px, 5vw, 80px); letter-spacing: -.04em; line-height: 1; }
.cifre div > span { font-size: 15px; color: var(--tenue); }

/* LAVORI */
.lavori__testa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 64px; align-items: end; }
.lavori__testa .etichetta { grid-column: 1 / -1; }
.lavori__testa > p:last-child { color: color-mix(in oklab, var(--t) 75%, var(--s)); max-width: 40ch; }
.schede { display: flex; gap: 0; margin-top: 48px; border-bottom: 1px solid var(--linea); overflow-x: auto; scrollbar-width: none; }
.scheda { appearance: none; border: 0; background: none; padding: 18px 28px 18px 0; margin-right: 28px; font-size: 16px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 10px; align-items: baseline; white-space: nowrap; color: var(--tenue); position: relative; min-height: 44px; }
.scheda span { font-size: 12px; letter-spacing: .1em; }
.scheda[aria-selected="true"] { color: var(--t); }
.scheda::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--p); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--curva); }
.scheda[aria-selected="true"]::after { transform: scaleX(1); }
.lavoro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); margin-top: 40px; align-items: start; }
.lavoro[hidden] { display: none; }
.tavola { position: relative; background: var(--carta); border: 1px solid var(--linea); border-radius: 6px; padding: 18px 18px 14px; }
.tavola__stati { display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--t) 7%, var(--s)); margin-bottom: 8px; }
.tavola__stati button { appearance: none; border: 0; background: none; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--tenue); transition: background .35s, color .35s; }
.tavola__stati button[aria-pressed="true"] { background: var(--t); color: var(--s); }
.pianta { width: 100%; height: auto; display: block; overflow: visible; }
.pianta path, .pianta rect { fill: none; stroke-linecap: square; }
.p-griglia path { stroke: color-mix(in oklab, var(--t) 7%, var(--carta)); stroke-width: .7; }
.p-esterno { stroke: var(--t); stroke-width: 8; }
.p-finestre path { stroke: var(--carta); stroke-width: 6; }
.p-tieni path { stroke: var(--t); stroke-width: 4.5; }
.p-demo path, .p-nuovo path { stroke-width: 4.5; transition: stroke .5s, opacity .5s, stroke-dasharray .5s; }
.p-demo path { stroke: var(--t); }
.p-nuovo path { stroke: var(--p); opacity: 0; }
[data-stato="gialli"] .p-demo path { stroke: var(--a); stroke-width: 7; }
[data-stato="gialli"] .p-nuovo path { opacity: 1; stroke-width: 7; }
[data-stato="dopo"] .p-demo path { opacity: 0; }
[data-stato="dopo"] .p-nuovo path { opacity: 1; stroke: var(--t); }
.p-testi text { font-family: var(--f-testo); font-size: 11.5px; font-weight: 600; fill: var(--t); text-anchor: middle; transition: opacity .45s; }
.p-testi .t-mq { font-size: 10px; font-weight: 400; fill: var(--tenue); }
.t-dopo { opacity: 0; }
[data-stato="dopo"] .t-prima { opacity: 0; }
[data-stato="dopo"] .t-dopo { opacity: 1; }
.p-quota path { stroke: var(--tenue); stroke-width: 1; }
.p-quota text { font-family: var(--f-testo); font-size: 11px; fill: var(--tenue); text-anchor: middle; }
.legenda { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 22px; font-size: 13px; color: var(--tenue); }
.legenda li { display: inline-flex; align-items: center; gap: 8px; }
.legenda li::before { content: ""; width: 22px; height: 6px; border-radius: 1px; }
.l-demo::before { background: var(--a); }
.l-nuovo::before { background: var(--p); }
.lavoro__foto { margin: 0 0 24px; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.lavoro__foto img { width: 100%; height: 100%; object-fit: cover; }
.lavoro__scheda h3 { font-size: clamp(24px, 2vw, 32px); font-stretch: 104%; margin-bottom: 12px; }
.lavoro__scheda > p { color: color-mix(in oklab, var(--t) 76%, var(--s)); }
.dati { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; border-top: 1px solid var(--linea); }
.dati div { padding: 14px 10px 0 0; }
.dati dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.dati dd { margin: 4px 0 0; font-family: var(--f-testo); font-weight: 700; font-size: 19px; font-stretch: 104%; }

/* TEMPI: gantt */
.tempi__testa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 64px; align-items: end; }
.tempi__testa .etichetta { grid-column: 1 / -1; }
.tempi__testa > p:last-child { color: color-mix(in oklab, var(--t) 75%, var(--s)); max-width: 40ch; }
.gantt { margin-top: clamp(48px, 5vw, 72px); --col: 250px; overflow-x: clip; }
.gantt__testa, .fase { display: grid; grid-template-columns: var(--col) repeat(9, minmax(0, 1fr)); }
.gantt__testa { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--tenue); border-bottom: 1px solid var(--t); padding-bottom: 10px; }
.gantt__testa span:not(:first-child)::before { content: "sett. "; }
.gantt__corpo { position: relative; background-image: linear-gradient(90deg, var(--linea) 1px, transparent 1px); background-size: calc((100% - var(--col)) / 9) 100%; background-position: var(--col) 0; background-repeat: repeat-x; }
.fase { align-items: center; min-height: 66px; border-bottom: 1px solid var(--linea); }
.fase__nome { grid-column: 1; font-weight: 600; font-size: 16px; line-height: 1.25; padding-right: 16px; }
.fase__nome small { display: block; font-weight: 400; font-size: 13px; color: var(--tenue); margin-top: 2px; }
.fase__barra { grid-row: 1; height: 26px; margin: 0 3px; border-radius: 3px; background: var(--t); transform-origin: 0 50%; }
.fase:nth-child(odd) .fase__barra { background: color-mix(in oklab, var(--t) 78%, var(--s)); }
.fase__barra--fine { background: var(--p) !important; }
.gantt__ora { position: absolute; top: -34px; bottom: 0; left: var(--col); width: 0; border-left: 1.5px solid var(--p); z-index: 2; pointer-events: none; display: none; }
.js .gantt__ora { display: block; }
.gantt__ora span { position: absolute; top: 0; left: 0; transform: translateX(0); background: var(--p); color: var(--su-p); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tempi__nota { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 48px; max-width: 760px; margin-left: auto; padding: 18px; border: 1px solid var(--linea); border-radius: 6px; }
.tempi__nota img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.tempi__nota b { display: block; font-family: var(--f-titoli); font-size: 22px; font-stretch: 104%; margin-bottom: 6px; }

/* PREZZI */
.prezzi__testa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 64px; align-items: end; }
.prezzi__testa .etichetta { grid-column: 1 / -1; }
.prezzi__testa > p:last-child { color: color-mix(in oklab, var(--t) 75%, var(--s)); max-width: 40ch; }
.stima { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: 48px; border: 1px solid var(--linea); border-radius: 8px; overflow: hidden; }
.stima__comandi { padding: clamp(24px, 3vw, 44px); display: grid; gap: 28px; background: var(--carta); }
.stima__mq { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline; font-weight: 600; }
.stima__mq output { font-family: var(--f-testo); font-size: 28px; font-weight: 750; font-stretch: 110%; }
.stima__mq input { grid-column: 1 / -1; width: 100%; accent-color: var(--p); height: 32px; }
.stima__livello { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stima__livello legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.stima__livello label { position: relative; cursor: pointer; }
.stima__livello input, .scelte input, .stima__extra input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stima__livello span { display: block; height: 100%; padding: 14px; border: 1.5px solid var(--linea); border-radius: 6px; font-size: 13px; color: var(--tenue); transition: border-color .3s, background .3s; }
.stima__livello b { display: block; font-size: 16px; color: var(--t); margin-bottom: 2px; }
.stima__livello input:checked + span { border-color: var(--t); background: var(--s); }
.stima__livello input:focus-visible + span, .scelte input:focus-visible + span, .stima__extra input:focus-visible + span { outline: 2px solid var(--p); outline-offset: 2px; }
.stima__extra { display: inline-flex; cursor: pointer; }
.stima__extra span { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.stima__extra span::before { content: ""; width: 22px; height: 22px; border: 1.5px solid var(--t); border-radius: 4px; transition: background .25s, box-shadow .25s; }
.stima__extra input:checked + span::before { background: var(--p); border-color: var(--p); box-shadow: inset 0 0 0 4px var(--carta); }
.stima__esito { background: var(--t); color: var(--s); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.stima__lab { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--s) 65%, var(--t)); }
.stima__cifra { font-family: var(--f-testo); font-weight: 760; font-stretch: 106%; font-size: clamp(34px, 3.6vw, 58px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stima__nota { font-size: 15px; color: color-mix(in oklab, var(--s) 72%, var(--t)); max-width: 36ch; }
.stima__esito .btn { align-self: flex-start; margin-top: 8px; }
.listino { width: 100%; margin-top: 40px; border-collapse: collapse; }
.listino caption { text-align: left; font-family: var(--f-titoli); font-weight: 700; font-size: 20px; font-stretch: 104%; padding-bottom: 12px; }
.listino th, .listino td { padding: 16px 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 500; }
.listino td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 16px; }

/* RECENSIONI */
.recensioni__testa { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.voto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--tenue); }
.voto b { font-family: var(--f-testo); font-size: 44px; font-weight: 750; color: var(--t); letter-spacing: -.03em; }
.stelle { display: inline-flex; gap: 2px; color: var(--a); }
.stelle .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.citazioni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.citazioni blockquote { margin: 0; border-top: 1.5px solid var(--t); padding-top: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.citazioni p { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; }
.citazioni footer { font-size: 14px; color: var(--tenue); }

/* ZONE */
.zone { padding-top: 0; }
.zone__elenco { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--f-titoli); font-weight: 600; font-stretch: 104%; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.02em; line-height: 1.25; }
.zone__elenco li::after { content: "/"; color: var(--p); margin: 0 .4em; font-weight: 400; }
.zone__elenco li:last-child::after { content: none; }

/* SOPRALLUOGO */
.sopralluogo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 1px solid var(--linea); }
.sopralluogo__testo > p { margin-top: 20px; color: color-mix(in oklab, var(--t) 76%, var(--s)); max-width: 42ch; }
.sopralluogo__testo .titolo-sez { margin-top: 18px; }
.spunte { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.spunte li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.spunte .ico { color: var(--p); stroke-width: 2.4; }
.sopralluogo__tel a { font-weight: 700; }
.modulo { background: var(--carta); border: 1px solid var(--linea); border-radius: 8px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 24px; }
.scelte { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.scelte legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.scelte label { position: relative; cursor: pointer; }
.scelte span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--linea); border-radius: 999px; font-size: 15px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.scelte input:checked + span { background: var(--t); color: var(--s); border-color: var(--t); }
.modulo__campi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.campo input { min-height: 50px; padding: 0 14px; border: 1.5px solid var(--linea); border-radius: 6px; background: var(--s); font-size: 16px; font-weight: 400; }
.campo input:focus { outline: none; border-color: var(--t); }
.modulo__nota { font-size: 14px; color: var(--tenue); text-align: center; }

/* CONTATTI */
.contatti__griglia { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); margin-top: 48px; align-items: center; }
.mappa { position: relative; background: var(--carta); border: 1px solid var(--linea); border-radius: 8px; padding: 12px; }
.mappa svg { display: block; width: 100%; height: auto; }
.mappa path { fill: none; }
.m-cerchia { stroke: color-mix(in oklab, var(--t) 22%, var(--carta)); stroke-width: 7; }
.m-cerchia--2 { stroke-width: 4; }
.m-strada { stroke: color-mix(in oklab, var(--t) 14%, var(--carta)); stroke-width: 3; }
.m-naviglio { stroke: color-mix(in oklab, var(--a) 70%, var(--carta)); stroke-width: 4; }
.m-duomo { fill: var(--t); }
.m-noi circle:first-child { fill: var(--p); }
.m-noi circle:last-child { fill: var(--carta); }
.mappa__etichetta { position: absolute; left: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--t); color: var(--s); font-size: 14px; font-weight: 600; }
.mappa__etichetta .ico { width: 16px; height: 16px; }
.contatti__info { display: grid; gap: 28px; }
.contatti__info > div { border-top: 1px solid var(--linea); padding-top: 16px; }
.contatti__info h3 { font-family: var(--f-testo); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--p); font-weight: 650; margin-bottom: 8px; }
.contatti__info p { font-size: 18px; }
.contatti__info a { text-decoration: none; font-weight: 600; }
.contatti__info .nota { font-size: 15px; color: var(--tenue); margin-top: 6px; }

/* PIEDE */
.piede { background: var(--t); color: var(--s); padding: clamp(64px, 8vw, 120px) var(--bordo) 40px; }
.piede__alto { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 48px; border-bottom: 1px solid color-mix(in oklab, var(--s) 16%, var(--t)); }
.piede__nome { font-family: var(--f-titoli); font-weight: 780; font-stretch: 106%; font-size: clamp(36px, 6vw, 96px); letter-spacing: -.04em; line-height: .95; max-width: 14ch; overflow-wrap: anywhere; }
.piede__righe { margin-top: 24px; font-size: 14px; color: color-mix(in oklab, var(--s) 62%, var(--t)); }

/* WHATSAPP */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--t); color: var(--s); text-decoration: none; font-weight: 600; box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--t) 60%, transparent); transition: transform .5s var(--curva), opacity .4s; }
.wa .ico { color: var(--a); }
.wa-attesa .wa { transform: translateY(140%); opacity: 0; }

/* APERTURA: metro a nastro */
.apertura { pointer-events: auto; }
.apertura__meta { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--t); }
.apertura__meta--su { top: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 64px; }
.apertura__meta--giu { bottom: 0; }
.apertura__nome { font-family: var(--f-titoli); font-weight: 750; font-stretch: 110%; font-size: clamp(22px, 3.4vw, 46px); letter-spacing: -.02em; color: var(--s); text-align: center; padding: 0 20px; }
.apertura__metro { position: absolute; left: 0; right: 0; top: 50%; height: 40px; transform: translateY(-50%); }
.apertura__nastro { position: absolute; left: 56px; right: 0; top: 4px; height: 32px; background: var(--a); transform-origin: 0 50%; overflow: hidden; }
.apertura__tacche { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, var(--t) 0 1.5px, transparent 1.5px 10px), repeating-linear-gradient(90deg, var(--t) 0 2px, transparent 2px 50px); background-size: 100% 9px, 100% 16px; background-repeat: repeat-x; background-position: 0 0, 0 0; }
.apertura__cassa { position: absolute; left: 0; top: -20px; width: 112px; height: 80px; border-radius: 14px; background: var(--p); color: var(--su-p); display: flex; align-items: baseline; justify-content: center; gap: 4px; padding-top: 22px; font-family: var(--f-testo); font-weight: 750; font-variant-numeric: tabular-nums; box-shadow: 0 10px 30px -12px #000; }
.apertura__misura { font-size: 24px; }
.apertura__cassa small { font-size: 12px; font-weight: 600; }

/* ---------- risposta alle larghezze ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .testata__tel span { display: none; }
  .metodo__passi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .gantt { --col: 200px; }
}
@media (max-width: 899px) {
  .testata { height: 68px; gap: 12px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .testata__destra { margin-left: auto; gap: 10px; }
  .testata__tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1.5px solid var(--linea); }
  .hero { padding-top: 104px; }
  .metodo__testa, .lavori__testa, .tempi__testa, .prezzi__testa { grid-template-columns: minmax(0, 1fr); }
  .lavoro { grid-template-columns: minmax(0, 1fr); }
  .stima { grid-template-columns: minmax(0, 1fr); }
  .citazioni { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sopralluogo { grid-template-columns: minmax(0, 1fr); }
  .contatti__griglia { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .testata__cta, .lingue { display: none; }
  .logo { font-size: 16px; }
  .hero__dati { font-size: 11.5px; margin-bottom: 22px; }
  .hero__dati li + li::before { margin: 0 11px; }
  .riga-h { display: inline; }
  .hero__titolo { font-size: clamp(38px, 11.4vw, 60px); }
  .hero__sotto { margin-top: 20px; }
  .hero__azioni { width: 100%; margin-top: 24px; }
  .hero__azioni .btn { flex: 1 1 100%; }
  .hero__striscia { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .scatto--2, .scatto--4 { display: none; }
  .scatto--1 { margin-top: 0; }
  .scatto--3 { margin-top: 24px; }
  .scatto figcaption { flex-direction: column; gap: 0; font-size: 12.5px; }
  .metodo__passi { grid-template-columns: minmax(0, 1fr); }
  .passo__n { margin-bottom: 14px; }
  .cifre { grid-template-columns: minmax(0, 1fr); }
  .cifre div, .cifre div + div { border-left: 0; padding: 22px 0; }
  .cifre div + div { border-top: 1px solid var(--linea); }
  .tavola { padding: 12px 10px; }
  .tavola__stati { display: flex; }
  .tavola__stati button { flex: 1; padding: 0 8px; font-size: 13px; }
  .gantt { --col: 0px; }
  .fase { grid-template-rows: auto auto; padding: 12px 0; row-gap: 8px; }
  .fase__nome { grid-column: 1 / -1; padding: 0; font-size: 15px; }
  .fase__barra { grid-row: 2; height: 14px; }
  .gantt__testa span:not(:first-child)::before { content: ""; }
  .tempi__nota { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; }
  .tempi__nota b { font-size: 18px; }
  .stima__livello { grid-template-columns: minmax(0, 1fr); }
  .modulo__campi { grid-template-columns: minmax(0, 1fr); }
  .dati dd { font-size: 16px; }
  .wa span { display: none; }
  .wa { padding: 0; width: 54px; justify-content: center; }
  .mappa__etichetta { left: 12px; bottom: 12px; font-size: 13px; }
}
@media (min-width: 1700px) {
  body { font-size: 18px; }
  .hero__striscia { max-width: 1560px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .marchi__nastro.pronto .marchi__fila { animation: none; }
}
