/* E-Line Innovation · foglio di stile del sito */
:root {
  --nero: #1a1a18;
  --nero-2: #262624;
  --giallo: #f6b81e;
  --giallo-chiaro: #fde9b4;
  --zinco: #e6e9ec;
  --cemento: #f3f4f5;
  --acciaio: #59616a;
  --linea: #d3d8dd;
  --bianco: #ffffff;
  --verde: #2f7d4f;
  --rosso: #b4382b;
  --titoli: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --testo: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--testo); font-size: 17px; line-height: 1.6; color: var(--nero); background: var(--bianco); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--giallo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--nero); }
:focus-visible { outline: 3px solid var(--giallo); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--giallo); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--titoli); font-stretch: 116%; font-weight: 800; line-height: 1.04; letter-spacing: -0.012em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.32rem; font-stretch: 108%; font-weight: 750; line-height: 1.15; }
h4 { font-size: 1.05rem; font-stretch: 104%; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; line-height: 1.55; color: #33342f; max-width: 58ch; }
.muted { color: var(--acciaio); }
.small { font-size: 0.88rem; }

/* Banner prototipo */
.proto { background: var(--cemento); border-bottom: 1px solid var(--linea); font-size: 0.86rem; color: #3b3d3a; }
.proto .wrap { display: flex; gap: 14px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.proto .stripe { flex: none; width: 28px; height: 14px; background: repeating-linear-gradient(-45deg, var(--nero) 0 5px, var(--giallo) 5px 10px); border-radius: 2px; }
.proto p { margin: 0; max-width: none; }
.proto button { margin-left: auto; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; color: var(--nero); }

/* Testata */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--linea); }
.head .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { flex: none; display: block; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav > li { list-style: none; position: relative; }
.nav ul { list-style: none; }
.nav a, .nav button { display: block; padding: 10px 12px; font-family: var(--titoli); font-stretch: 104%; font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--nero); background: none; border: 0; cursor: pointer; border-radius: var(--r); }
.nav a:hover, .nav button:hover, .nav [aria-current="page"] { background: var(--cemento); }
.nav [aria-current="page"] { box-shadow: inset 0 -3px 0 var(--giallo); }
.nav button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
.drop { position: absolute; left: 0; top: 100%; min-width: 300px; background: var(--bianco); border: 1px solid var(--linea); border-radius: var(--r); padding: 8px; margin: 6px 0 0; display: none; box-shadow: 0 18px 40px -18px rgba(26,26,24,0.35); }
.drop a { font-family: var(--testo); font-stretch: 100%; font-weight: 500; padding: 9px 12px; }
.drop a small { display: block; font-weight: 400; color: var(--acciaio); font-size: 0.85rem; }
.nav li.open > .drop { display: block; }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.tel { font-family: var(--titoli); font-stretch: 108%; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tel span { display: block; font-family: var(--testo); font-weight: 400; font-size: 0.76rem; color: var(--acciaio); line-height: 1; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--linea); border-radius: var(--r); background: var(--bianco); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--nero); margin: 0 auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: var(--r); border: 2px solid var(--nero); font-family: var(--titoli); font-stretch: 108%; font-weight: 750; font-size: 1.02rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn-y { background: var(--giallo); color: var(--nero); border-color: var(--giallo); }
.btn-y:hover { background: #ffc739; }
.btn-k { background: var(--nero); color: var(--bianco); }
.btn-k:hover { background: #000; }
.btn-o { background: transparent; color: var(--nero); }
.btn-o:hover { background: var(--nero); color: var(--bianco); }
.btn-w { background: var(--bianco); color: var(--nero); border-color: var(--bianco); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sezioni */
.sec { padding: 96px 0; }
.sec-alt { background: var(--cemento); }
.sec-dark { background: var(--nero); color: #f1f1ee; position: relative; }
.sec-dark .lead, .sec-dark p { color: #d8d9d4; }
.sec-dark a { color: var(--bianco); }
.saw { position: relative; }
.saw::before { content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px; background: var(--nero); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='24' viewBox='0 0 96 24'%3E%3Cpath d='M0 24 L0 0 L96 24 Z' fill='black'/%3E%3C/svg%3E") repeat-x left bottom / 96px 24px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='24' viewBox='0 0 96 24'%3E%3Cpath d='M0 24 L0 0 L96 24 Z' fill='black'/%3E%3C/svg%3E") repeat-x left bottom / 96px 24px; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head p { font-size: 1.12rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(var(--bianco), var(--bianco)) , radial-gradient(circle at 1px 1px, var(--linea) 1px, transparent 0); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 52%; background-image: radial-gradient(circle at 1px 1px, #cdd3d9 1px, transparent 0); background-size: 22px 22px; opacity: .55; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 28px; }
.pick-q { font-family: var(--titoli); font-stretch: 108%; font-weight: 700; font-size: 1.1rem; margin: 0 0 12px; }
.picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.picker a { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px 12px; border: 2px solid var(--linea); border-radius: var(--r); background: var(--bianco); text-decoration: none; font-family: var(--titoli); font-stretch: 104%; font-weight: 700; font-size: 0.95rem; line-height: 1.15; transition: border-color .12s ease; }
.picker a:hover, .picker a:focus-visible { border-color: var(--nero); }
.picker a:hover .lv { stroke: var(--giallo); }
.picker svg { height: 64px; width: 100%; }
.picker small { font-family: var(--testo); font-weight: 400; font-size: 0.8rem; color: var(--acciaio); }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.assure li { display: flex; gap: 8px; align-items: center; }
.assure li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--giallo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231a1a18' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

/* Disegni tecnici */
.draw { stroke: var(--nero); stroke-width: 2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.draw .f1 { fill: var(--bianco); }
.draw .f2 { fill: var(--zinco); }
.draw .f3 { fill: #cfd5db; }
.draw .thin { stroke-width: 1; stroke: var(--acciaio); }
.lv { stroke: var(--giallo); stroke-width: 4; fill: none; stroke-linecap: round; }
.anc { fill: var(--nero); stroke: var(--giallo); stroke-width: 2; }
.dim { stroke: var(--acciaio); stroke-width: 1; fill: none; }
.lbl { font-family: var(--testo); font-size: 11px; fill: var(--nero); stroke: none; }
.lbl-b { font-family: var(--titoli); font-weight: 700; font-size: 12px; fill: var(--nero); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .anim .lv { stroke-dasharray: 600; stroke-dashoffset: 600; animation: traccia 1.6s .4s cubic-bezier(.6,.05,.25,1) forwards; }
  .anim .anc { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .35s ease forwards; }
  .anim .anc:nth-of-type(1) { animation-delay: .35s; } .anim .anc:nth-of-type(2) { animation-delay: 1.1s; } .anim .anc:nth-of-type(3) { animation-delay: 1.8s; }
  .anim .tag-in { opacity: 0; animation: fade .5s 2.1s forwards; }
}
@keyframes traccia { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fade { to { opacity: 1; } }

/* Impegni (sequenza temporale) */
.promise { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--bianco); }
.promise ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.promise li { padding: 26px 24px 26px 0; position: relative; }
.promise li + li { padding-left: 24px; border-left: 1px solid var(--linea); }
.promise b { display: block; font-family: var(--titoli); font-stretch: 120%; font-weight: 850; font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.promise span { color: #3b3d3a; font-size: 0.95rem; }

/* Riquadro normativo */
.law { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 2px solid var(--nero); border-radius: var(--r); overflow: hidden; }
.law > div { padding: 40px; }
.law > div + div { background: var(--nero); color: #eee; }
.law h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.law ul { margin: 0; padding: 0; list-style: none; }
.law li { padding: 12px 0; border-bottom: 1px solid #3a3a37; display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.law li:last-child { border-bottom: 0; }
.law li b { font-family: var(--titoli); font-stretch: 108%; color: var(--giallo); font-weight: 750; }

/* Righe servizi */
.rows { border-top: 2px solid var(--nero); }
.row { display: grid; grid-template-columns: 220px 1fr 220px; gap: 36px; padding: 30px 0; border-bottom: 1px solid var(--linea); align-items: center; text-decoration: none; }
.row svg { height: 120px; width: 100%; }
.row h3 { margin-bottom: 6px; }
.row p { margin: 0; color: #3b3d3a; }
.row .price { text-align: right; }
.row .price b { display: block; font-family: var(--titoli); font-stretch: 112%; font-size: 1.5rem; font-weight: 800; }
.row .price span { display: block; font-size: 0.82rem; color: var(--acciaio); margin-bottom: 10px; }
a.row:hover h3 { text-decoration: underline; text-decoration-color: var(--giallo); text-decoration-thickness: 3px; }
a.row:hover .lv { stroke-width: 5; }

/* Passi */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 0 28px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--giallo); font-family: var(--titoli); font-weight: 850; font-size: 1.2rem; margin-bottom: 18px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--nero); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: 0.97rem; color: #3b3d3a; }
.sec-dark .steps p { color: #cfd0cb; }
.sec-dark .steps li::after { background: #55554f; }

/* Libretto digitale */
.libretto { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.phone { width: 320px; margin-left: auto; background: #0e0e0d; border-radius: 38px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 1px solid #3c3c38; }
.phone .scr { background: var(--bianco); color: var(--nero); border-radius: 26px; overflow: hidden; font-size: 0.86rem; }
.phone .top { background: var(--giallo); padding: 22px 18px 16px; }
.phone .top b { font-family: var(--titoli); font-stretch: 112%; font-size: 1.15rem; display: block; line-height: 1.15; }
.phone .it { display: flex; justify-content: space-between; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--zinco); }
.phone .it span:last-child { font-weight: 600; text-align: right; }
.ok { color: var(--verde); }
.phone .bt { margin: 14px 18px 20px; display: block; text-align: center; background: var(--nero); color: var(--bianco); padding: 11px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid #3a3a37; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--giallo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231a1a18' stroke-width='2.4'/%3E%3C/svg%3E") center/14px no-repeat; }
.sec:not(.sec-dark) .checks li { border-bottom-color: var(--linea); }

/* Professionisti */
.pro { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--nero); }
.pro a { padding: 26px 22px 28px 0; text-decoration: none; display: block; }
.pro a + a { padding-left: 22px; border-left: 1px solid var(--linea); }
.pro h3 { font-size: 1.15rem; }
.pro p { font-size: 0.96rem; color: #3b3d3a; }
.pro .go { font-weight: 600; text-decoration: underline; text-decoration-color: var(--giallo); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Lavori */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case { border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; background: var(--bianco); display: flex; flex-direction: column; }
.case figure { margin: 0; background: var(--zinco); aspect-ratio: 16/10; display: grid; place-items: center; padding: 18px; position: relative; }
.case figure svg { height: 100%; }
.case .demo { position: absolute; left: 10px; top: 10px; background: var(--bianco); font-size: 0.75rem; padding: 2px 8px; border-radius: 3px; color: var(--acciaio); }
.case .body { padding: 20px 22px 22px; }
.case h3 { font-size: 1.12rem; margin-bottom: 4px; }
.case .where { color: var(--acciaio); font-size: 0.92rem; margin-bottom: 12px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; font-size: 0.9rem; }
.specs dt { color: var(--acciaio); }
.specs dd { margin: 0; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1.5px solid var(--linea); background: var(--bianco); border-radius: 40px; padding: 8px 16px; font: inherit; font-size: 0.93rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--nero); color: var(--bianco); border-color: var(--nero); }

/* Recensioni */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rev { border-top: 3px solid var(--giallo); padding-top: 18px; }
.rev .stars { color: var(--giallo); letter-spacing: 2px; font-size: 1.1rem; }
.rev blockquote { margin: 8px 0 12px; font-size: 1.02rem; }
.rev cite { font-style: normal; color: var(--acciaio); font-size: 0.9rem; }
.note { font-size: 0.88rem; color: var(--acciaio); border-left: 3px solid var(--linea); padding-left: 12px; margin-top: 28px; }

/* Zone */
.zones { columns: 4; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.zones li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--linea); }
.zones a { text-decoration: none; font-weight: 500; }
.zones a:hover { text-decoration: underline; text-decoration-color: var(--giallo); }

/* FAQ */
.faq { border-top: 2px solid var(--nero); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font-family: var(--titoli); font-stretch: 106%; font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 12px; height: 12px; border-right: 2.5px solid var(--nero); border-bottom: 2.5px solid var(--nero); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .ans { padding: 0 0 20px; }

/* Banda finale */
.final { background: var(--giallo); padding: 72px 0; }
.final .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.final h2 { margin-bottom: 12px; }
.final p { font-size: 1.12rem; }
.final .btn-row { justify-content: flex-end; }

/* Pagine interne */
.phero { padding: 48px 0 56px; border-bottom: 1px solid var(--linea); background: var(--cemento); }
.phero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.phero.solo .wrap { grid-template-columns: 1fr; }
.crumbs { font-size: 0.88rem; color: var(--acciaio); margin-bottom: 18px; }
.crumbs a { color: var(--acciaio); }
.phero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.phero svg { max-height: 230px; margin-left: auto; }
.box { border: 2px solid var(--nero); border-radius: var(--r); padding: 28px; background: var(--bianco); }
.box h3 { margin-bottom: 8px; }
.box .btn { width: 100%; margin-top: 10px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; max-width: 68ch; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--nero); }
.tbl { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 0.95rem; }
.tbl th { text-align: left; font-family: var(--titoli); font-stretch: 106%; font-weight: 700; background: var(--nero); color: var(--bianco); padding: 11px 14px; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tbl td.n { white-space: nowrap; font-weight: 600; text-align: right; }
.tbl-wrap { overflow-x: auto; }
.callout { background: var(--giallo-chiaro); border-left: 5px solid var(--giallo); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.warn { background: var(--cemento); border-left: 5px solid var(--nero); padding: 18px 22px; margin: 24px 0; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; list-style: none; padding: 0 !important; }
.incl li { padding-left: 30px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--giallo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231a1a18' stroke-width='2.4'/%3E%3C/svg%3E") center/13px no-repeat; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--linea); border-radius: var(--r); margin: 24px 0; }
.kv div { padding: 18px 20px; }
.kv div + div { border-left: 1px solid var(--linea); }
.kv b { display: block; font-family: var(--titoli); font-stretch: 112%; font-size: 1.35rem; }
.kv span { font-size: 0.9rem; color: var(--acciaio); }

/* Moduli */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--acciaio); font-size: 0.85rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #b9c0c7; border-radius: var(--r); background: var(--bianco); color: var(--nero); min-height: 50px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--nero); box-shadow: 0 0 0 3px var(--giallo-chiaro); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nero); flex: none; }
.err { color: var(--rosso); font-size: 0.88rem; margin-top: 4px; display: none; }
.invalid .err { display: block; }
.invalid input, .invalid select { border-color: var(--rosso); }

/* Preventivatore */
.pv { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.pv-card { border: 2px solid var(--nero); border-radius: var(--r); background: var(--bianco); }
.pv-top { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--linea); }
.pv-top .count { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.bar { flex: 1; height: 8px; background: var(--zinco); border-radius: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--giallo); transition: width .3s ease; }
.pv-step { padding: 30px 28px 26px; display: none; }
.pv-step.on { display: block; }
.pv-step h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.pv-step > p { color: var(--acciaio); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt label { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 2px solid var(--linea); border-radius: var(--r); cursor: pointer; font-family: var(--titoli); font-stretch: 104%; font-weight: 700; font-size: 1rem; line-height: 1.2; background: var(--bianco); }
.opt label small { font-family: var(--testo); font-weight: 400; color: var(--acciaio); font-size: 0.84rem; line-height: 1.35; }
.opt label svg { height: 58px; width: 100%; }
.opt input:checked + label { border-color: var(--nero); background: #fffaf0; box-shadow: inset 0 0 0 1px var(--nero); }
.opt input:checked + label .lv { stroke: var(--giallo); }
.opt input:focus-visible + label { outline: 3px solid var(--giallo); outline-offset: 2px; }
.pv-nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px 28px; border-top: 1px solid var(--linea); background: var(--cemento); border-radius: 0 0 var(--r) var(--r); }
.measure { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; margin: 18px 0; }
.range { display: flex; align-items: center; gap: 14px; }
.range input { flex: 1; accent-color: var(--nero); height: 30px; }
.range output { font-family: var(--titoli); font-stretch: 112%; font-weight: 800; font-size: 1.6rem; min-width: 96px; text-align: right; }
.mapbox { border: 1.5px solid #b9c0c7; border-radius: var(--r); overflow: hidden; margin-top: 12px; display: none; }
.mapbox.on { display: block; }
.mapbar { display: flex; gap: 8px; padding: 10px; background: var(--cemento); flex-wrap: wrap; }
.mapbar input { flex: 1; min-width: 200px; min-height: 44px; }
#mappa { height: 360px; background: var(--zinco); }
.maphelp { padding: 10px 12px; font-size: 0.88rem; background: var(--bianco); border-top: 1px solid var(--linea); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.ai { border: 1.5px dashed #9aa3ab; border-radius: var(--r); padding: 16px 18px; margin: 0 0 18px; background: #fbfbfa; }
.ai label { display: flex; justify-content: space-between; gap: 10px; }
.ai .tag { font-size: 0.76rem; font-weight: 600; background: var(--nero); color: var(--bianco); padding: 2px 8px; border-radius: 3px; }
.ai-out { font-size: 0.9rem; color: var(--verde); margin-top: 8px; min-height: 1.2em; }
.drop-zone { border: 1.5px dashed #9aa3ab; border-radius: var(--r); padding: 22px; text-align: center; background: #fbfbfa; cursor: pointer; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 4px; border: 1px solid var(--linea); }
.summary { position: sticky; top: 100px; border: 1px solid var(--linea); border-radius: var(--r); background: var(--cemento); padding: 24px; }
.summary h3 { font-size: 1.1rem; }
.summary dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.92rem; }
.summary dt { color: var(--acciaio); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.result { display: none; }
.result.on { display: block; }
.res-head { background: var(--nero); color: var(--bianco); padding: 30px 28px; border-radius: var(--r) var(--r) 0 0; }
.res-head .range-p { font-family: var(--titoli); font-stretch: 118%; font-weight: 850; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; color: var(--giallo); margin: 8px 0 10px; }
.res-head p { color: #d8d9d4; margin: 0; }
.res-body { padding: 26px 28px; }
.voci { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 6px 0 18px; }
.voci td { padding: 9px 0; border-bottom: 1px solid var(--linea); vertical-align: top; }
.voci td:last-child { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 14px; }
.tech { border: 2px solid var(--nero); background: var(--giallo-chiaro); padding: 24px; border-radius: var(--r); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 10px 0 4px; }
.slots button { border: 1.5px solid var(--linea); border-radius: var(--r); background: var(--bianco); padding: 10px 8px; font: inherit; font-size: 0.9rem; cursor: pointer; line-height: 1.25; }
.slots button[aria-pressed="true"] { background: var(--nero); color: var(--bianco); border-color: var(--nero); }

/* Piede */
.foot { background: var(--nero); color: #cfd0cb; padding: 72px 0 110px; font-size: 0.94rem; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 64px; width: auto; margin-bottom: 18px; }
.foot h4 { color: var(--bianco); font-size: 1rem; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot a { color: #e7e7e3; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--giallo); }
.foot .legal { border-top: 1px solid #3a3a37; margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.85rem; color: #a9aaa4; }
.foot address { font-style: normal; line-height: 1.7; }

/* Barra mobile */
.mbar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav, .tel { display: none; }
  .burger { display: block; }
  .head-cta .btn { display: none; }
  .head.menu-open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 76px; background: var(--bianco); border-bottom: 1px solid var(--linea); padding: 12px 16px 20px; max-height: calc(100vh - 76px); overflow: auto; margin: 0; }
  .head.menu-open .drop { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 12px; margin: 0; min-width: 0; }
  .head.menu-open .nav button::after { display: none; }
  .hero .wrap, .grid-2, .law, .libretto, .final .wrap, .phero .wrap, .layout, .pv { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero-art { max-width: 560px; }
  .aside, .summary { position: static; }
  .phone { margin: 0 auto; }
  .final .btn-row { justify-content: flex-start; }
  .pro { grid-template-columns: 1fr 1fr; }
  .pro a:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .zones { columns: 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .head .wrap { height: 66px; }
  .brand img { height: 42px; }
  .head.menu-open .nav { top: 66px; }
  .picker { grid-template-columns: 1fr 1fr; }
  .promise ol { grid-template-columns: 1fr 1fr; }
  .promise li:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise li { border-top: 1px solid var(--linea); }
  .promise li:nth-child(-n+2) { border-top: 0; }
  .row { grid-template-columns: 1fr; gap: 12px; }
  .row svg { height: 100px; width: auto; }
  .row .price { text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li::after { display: none; }
  .grid-3, .cases, .reviews { grid-template-columns: 1fr; }
  .pro { grid-template-columns: 1fr; }
  .pro a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--linea); }
  .law > div { padding: 26px 22px; }
  .law li { grid-template-columns: 1fr; gap: 2px; }
  .zones { columns: 2; }
  .kv { grid-template-columns: 1fr; }
  .kv div + div { border-left: 0; border-top: 1px solid var(--linea); }
  .incl, .form .two { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr; }
  .pv-step { padding: 24px 18px 20px; }
  .pv-nav { padding: 14px 18px; }
  .measure { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bianco); border-top: 1px solid var(--linea); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--r); text-decoration: none; font-family: var(--titoli); font-weight: 700; font-size: 0.95rem; border: 1.5px solid var(--nero); }
  .mbar a:last-child { background: var(--giallo); border-color: var(--giallo); }
  .mbar svg { width: 18px; height: 18px; }
}

/* Stampa: preventivo preliminare */
@media print {
  .proto, .head, .mbar, .foot, .pv-top, .pv-nav, .summary, .no-print, .final, .crumbs { display: none !important; }
  body { font-size: 11pt; }
  .pv { display: block; }
  .pv-card { border: 0; }
  .res-head { background: #fff; color: #000; border: 2px solid #000; }
  .res-head .range-p { color: #000; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

.err.step-err { display: block; }
.err.step-err[hidden] { display: none; }
.anim .anc:nth-of-type(4) { animation-delay: 2.2s; }
.steps.s3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps.s3 { grid-template-columns: 1fr; } }

/* Configuratore live nella prima schermata */
.live { border: 2px solid var(--nero); border-radius: var(--r); background: var(--bianco); padding: 18px 20px 20px; margin-top: 8px; position: relative; z-index: 1; }
.live-t { font-family: var(--titoli); font-stretch: 108%; font-weight: 750; font-size: 1.05rem; margin: 0 0 6px; }
.live .range output { font-size: 1.35rem; min-width: 70px; }
.live-res { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; border-top: 1px solid var(--linea); padding-top: 12px; margin: 8px 0 14px; }
.live-res span { color: var(--acciaio); font-size: 0.88rem; }
.live-res b { font-family: var(--titoli); font-stretch: 116%; font-weight: 850; font-size: 1.7rem; line-height: 1; grid-row: span 2; align-self: center; white-space: nowrap; }
.live-res small { color: var(--nero); font-size: 0.9rem; font-weight: 500; }
.live .btn { width: 100%; }
.hero-art .draw .anc { transition: cx .25s ease; }

/* Fune di avanzamento della pagina */
.cable { position: fixed; left: 0; top: 0; width: 100%; height: 4px; background: var(--giallo); transform-origin: 0 50%; transform: scaleX(0); z-index: 80; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .cable { animation: cavo linear both; animation-timeline: scroll(root); }
  }
}
@keyframes cavo { to { transform: scaleX(1); } }

/* Foto con annotazioni tecniche */
.ph { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--zinco); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.06); transition: filter .5s ease; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,24,0) 55%, rgba(26,26,24,.55)); z-index: 1; pointer-events: none; }
.ph:hover img, .ph:focus-within img { filter: grayscale(.15) contrast(1.04); }
.ph .ann { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.ph .ann .lv { stroke-width: 3.5; stroke-dasharray: 8 6; }
.ph .ann .anc { stroke-width: 2.5; }
.ph .ann text { font-family: var(--titoli); font-weight: 700; font-size: 15px; fill: var(--bianco); paint-order: stroke; stroke: rgba(26,26,24,.7); stroke-width: 4px; }
.ph figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 3; color: var(--bianco); font-size: 0.88rem; }
.ph .credit { position: absolute; right: 8px; top: 8px; z-index: 3; font-size: 0.68rem; color: rgba(255,255,255,.8); background: rgba(26,26,24,.45); padding: 1px 6px; border-radius: 3px; }
.ph-tall { aspect-ratio: 4/5; }
.ph-wide { aspect-ratio: 16/9; }
.ph-band { aspect-ratio: 21/8; }
.case figure.ph-case { padding: 0; }
.case figure.ph-case img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.case:hover figure.ph-case img { filter: none; }
.case figure.ph-case .demo { z-index: 2; }

/* Sezione qualità */
.craft { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.craft .ph { aspect-ratio: 5/4; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--nero); margin-top: 26px; }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--linea); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--linea); }
.facts b { display: block; font-family: var(--titoli); font-stretch: 108%; font-weight: 750; }
.facts span { font-size: 0.93rem; color: #3b3d3a; }

/* Risposta breve in testa alle pagine (leggibile da persone e assistenti) */
.tldr { border: 2px solid var(--nero); border-radius: var(--r); padding: 22px 24px; margin: 0 0 32px; background: var(--bianco); }
.tldr h2 { font-size: 1.1rem !important; font-stretch: 108%; margin: 0 0 8px !important; }
.tldr p { margin: 0; }
.tldr ul { margin: 10px 0 0; }
.meta-line { font-size: 0.88rem; color: var(--acciaio); margin: -6px 0 18px; }
.gloss dt { font-family: var(--titoli); font-stretch: 108%; font-weight: 750; font-size: 1.12rem; margin-top: 26px; }
.gloss dd { margin: 6px 0 0; max-width: 68ch; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.az a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border: 1.5px solid var(--linea); border-radius: var(--r); text-decoration: none; font-weight: 600; }

@media (max-width: 1080px) {
  .craft { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .live-res b { font-size: 1.4rem; }
  .ph-band { aspect-ratio: 4/3; }
}
.brand img { height: 60px; }
.law li { grid-template-columns: 160px 1fr; }
@media (max-width: 760px) { .brand img { height: 48px; } .law li { grid-template-columns: 1fr; } }
.ph .cab { position: absolute; left: 22px; right: 22px; bottom: 18px; height: 4px; background: var(--giallo); z-index: 2; border-radius: 2px; }
.ph .cab i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--nero); border: 2.5px solid var(--giallo); }
.ph figcaption { bottom: 34px; left: 22px; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }
@media (max-width: 760px) { .live-res { grid-template-columns: 1fr; } .live-res b { grid-row: auto; margin: 4px 0; } }

/* ===== Upgrade grafico: scene 3D, foto, profondità ===== */
.scene3d { position: relative; width: 100%; aspect-ratio: 4 / 3; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.scene3d.grab { cursor: grabbing; }
.scene3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.scene3d canvas { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, #000 0, #000 72%, transparent 99%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, #000 0, #000 72%, transparent 99%); mask-composite: intersect; }
.scene3d.ok > svg { display: none; }
.scene3d > svg { width: 100%; height: 100%; }
.dimlab { position: absolute; left: 0; top: 0; z-index: 2; background: var(--nero); color: var(--giallo); font-family: var(--titoli); font-stretch: 110%; font-weight: 800; font-size: 0.92rem; padding: 5px 11px; border-radius: 4px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s ease .9s; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.dimlab::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--nero); }
.scene3d.ok .dimlab { opacity: 1; }
.hint3d { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 0.78rem; color: var(--acciaio); background: rgba(255,255,255,.86); padding: 3px 10px; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.scene3d.ok .hint3d { opacity: 1; }
.hero .scene3d { aspect-ratio: 5 / 4; margin-bottom: 6px; }
.phero .scene3d { aspect-ratio: 16 / 11; max-width: 560px; margin-left: auto; }
.phero .ph { aspect-ratio: 16 / 11; max-width: 560px; margin-left: auto; box-shadow: 0 30px 60px -30px rgba(26,26,24,.45); }

/* Foto: colore naturale, leggero zoom */
.ph img, .case figure.ph-case img { filter: saturate(.92) contrast(1.05); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.ph:hover img, .case:hover figure.ph-case img { transform: scale(1.035); filter: saturate(1) contrast(1.05); }

/* Schede con profondità che seguono il puntatore */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .25s ease-out, box-shadow .25s ease-out; will-change: transform; }
.tilt.on { box-shadow: 0 22px 40px -22px rgba(26,26,24,.45); }

/* Galleria dal cantiere */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery .ph { height: 100%; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g2 { grid-column: span 2; }

/* Fascia fotografica a tutta larghezza con profondità */
.band { position: relative; min-height: 520px; height: 72vh; max-height: 760px; overflow: hidden; color: var(--bianco); background: var(--nero); }
.band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; filter: saturate(.95) contrast(1.05); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band img { animation: plx linear both; animation-timeline: view(); }
  }
}
@keyframes plx { from { transform: translateY(-7%) scale(1.04); } to { transform: translateY(7%) scale(1.04); } }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,24,.82) 0%, rgba(26,26,24,.35) 55%, rgba(26,26,24,0) 100%), linear-gradient(0deg, rgba(26,26,24,.5), rgba(26,26,24,0) 50%); }
.band .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 64px; }
.band h2 { color: var(--bianco); max-width: 15ch; }
.band p { color: #e9e9e4; max-width: 46ch; font-size: 1.15rem; }
.band .credit { position: absolute; right: 12px; top: 12px; z-index: 3; font-size: 0.7rem; color: rgba(255,255,255,.75); }

/* Telefono e targhetta QR in prospettiva */
.device { position: relative; perspective: 1400px; }
.device .phone { transform: rotateY(-17deg) rotateX(6deg) rotateZ(1.5deg); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.device:hover .phone { transform: rotateY(-6deg) rotateX(2deg); }
.plate { position: absolute; left: -46px; bottom: 54px; width: 170px; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, #f4f6f7, #c4cbd1 60%, #e9edf0); box-shadow: 0 30px 50px -20px rgba(0,0,0,.65), inset 0 1px 0 #fff; transform: rotateY(18deg) rotateX(8deg) translateZ(60px); color: var(--nero); }
.plate svg { width: 100%; height: auto; background: #fff; padding: 6px; border-radius: 4px; }
.plate small { display: block; font-family: var(--titoli); font-weight: 750; font-size: 0.72rem; margin-top: 6px; line-height: 1.2; }
.plate::before { content: ""; position: absolute; top: 6px; left: 6px; width: 6px; height: 6px; border-radius: 50%; background: #8f979e; box-shadow: 152px 0 #8f979e, 0 calc(100% + 0px) transparent; }

@media (max-width: 1080px) { .phero .scene3d, .phero .ph { margin: 0; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .g1 { grid-column: span 2; }
  .band { min-height: 460px; height: 70vh; }
  .plate { left: -8px; width: 130px; bottom: 30px; }
  .device .phone { width: 280px; }
  .hint3d { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tilt { transform: none !important; } .device .phone, .plate { transform: none; } }

/* Prima schermata: casa e capannone, scelta dell'edificio nel configuratore */
.hero-art .nscale * { vector-effect: non-scaling-stroke; }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.live-top .live-t { margin: 0; }
.live-k { display: inline-flex; border: 2px solid var(--nero); border-radius: var(--r); overflow: hidden; }
.live-k button { font: inherit; font-family: var(--titoli); font-stretch: 104%; font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border: 0; background: var(--bianco); color: var(--nero); cursor: pointer; }
.live-k button + button { border-left: 2px solid var(--nero); }
.live-k button[aria-pressed="true"] { background: var(--nero); color: var(--giallo); }
.live-k button:focus-visible { outline-offset: -4px; }

/* Home: progettazione, posa, manutenzione */
.fasi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--nero); counter-reset: f; }
.fasi > li { counter-increment: f; padding: 28px 28px 8px 0; display: flex; flex-direction: column; }
.fasi > li + li { padding-left: 28px; border-left: 1px solid var(--linea); }
.fasi h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.fasi h3::before { content: counter(f); flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--giallo); font-weight: 850; font-size: 1.1rem; }
.fasi p { color: #3b3d3a; }
.fasi ul { list-style: none; padding: 0; margin: 0 0 18px; }
.fasi ul li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--linea); position: relative; font-size: 0.97rem; }
.fasi ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 3px; background: var(--giallo); }
.fasi .go { margin-top: auto; font-weight: 600; text-decoration: underline; text-decoration-color: var(--giallo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.combo-band .grid-2 { align-items: center; }
.combo-band .incl { grid-template-columns: 1fr; margin: 0 0 24px; }
.combo-band .scene3d { aspect-ratio: 4 / 3; }

/* Preventivatore: opzioni che valgono solo per alcuni edifici */
.opt[hidden] { display: none !important; }

/* Pagina fotovoltaico + linea vita */
.formule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 32px; }
.formule > div { border: 2px solid var(--nero); border-radius: var(--r); padding: 18px 18px 16px; display: flex; flex-direction: column; background: var(--bianco); }
.formule h3 { font-size: 1.1rem; margin: 0 0 8px; }
.formule p { font-size: 0.95rem; margin: 0 0 14px; }
.formule .pz { margin: auto 0 0; font-family: var(--titoli); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; }
.formule .pz span { display: block; font-family: var(--testo); font-weight: 400; font-size: 0.8rem; color: var(--acciaio); }
@media (max-width: 900px) {
  .fasi { grid-template-columns: 1fr; }
  .fasi > li, .fasi > li + li { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--linea); }
  .formule { grid-template-columns: 1fr; }
}

/* Logo con la scritta «Linee vita» */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nero); }
.brand-t { font-family: var(--titoli); font-stretch: 112%; font-weight: 800; font-size: 1.22rem; line-height: 1; padding: 6px 0 6px 12px; border-left: 3px solid var(--giallo); white-space: nowrap; }
.foot-t { font-family: var(--titoli); font-stretch: 112%; font-weight: 800; font-size: 1.1rem; color: var(--giallo); margin: -6px 0 16px; }
.nav > li > a, .nav > li > button, .head-cta .btn { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1500px) {
  .head .wrap { gap: 14px; }
  .nav { margin-left: 0; gap: 0; }
  .nav > li > a, .nav > li > button { padding: 10px 9px; }
  .head-cta { gap: 12px; }
  .head-cta .tel span { display: none; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .brand-t { font-size: 1rem; padding-left: 9px; }
  .brand { gap: 9px; }
  .brand img { height: 50px; }
  .head-cta .tel { display: none; }
}
@media (max-width: 760px) { .brand { gap: 9px; } .brand-t { font-size: 1.02rem; padding-left: 9px; } }

/* Guide: fonti e indice */
.fonti { padding-left: 1.1em; font-size: 0.95rem; }
.fonti li { margin: 6px 0; }
.guide-list { grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
.guide-list a { border-bottom: 1px solid var(--linea); }
.meta-line a { color: inherit; }
@media (max-width: 1080px) { .guide-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } .guide-list a + a { border-left: 0; padding-left: 0; } }

/* Guida alla normativa regionale */
.norma { display: grid; grid-template-columns: 170px 1fr; gap: 6px 18px; margin: 0 0 14px; padding: 16px 18px; background: var(--cemento); border-radius: var(--r); }
.norma dt { font-family: var(--titoli); font-weight: 700; }
.norma dd { margin: 0; }
.tbl-norme td:first-child { font-weight: 600; white-space: nowrap; }
.callout.dato { border-left-color: var(--nero); }
@media (max-width: 760px) { .norma { grid-template-columns: 1fr; } .norma dd { margin-bottom: 8px; } }

/* Ultimo passo dei moduli: invio su WhatsApp o per email */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.invio{border:2px solid #f6b81e;background:#fffaf0;padding:20px 22px;display:grid;gap:12px}
.invio h3{margin:0}
.invio p{margin:0}

/* Banner dei cookie (assets/js/consenso.js): compare solo quando Google è attivo */
.el-consenso{position:fixed;left:16px;right:16px;bottom:16px;z-index:70;max-width:720px;margin:0 auto;background:var(--bianco);color:var(--nero);border:2px solid var(--nero);border-radius:var(--r);padding:16px 52px 16px 18px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:15px;line-height:1.45}
.el-consenso p{margin:0 0 12px}
.el-bottoni{display:flex;flex-wrap:wrap;gap:8px}
.el-consenso .btn{min-height:44px;padding:8px 18px;flex:1 1 0}
.el-x{position:absolute;top:6px;right:6px;width:40px;height:40px;border:0;background:transparent;color:var(--nero);font-size:26px;line-height:1;cursor:pointer;border-radius:var(--r)}
.el-scegli{display:grid;gap:8px;margin:0 0 12px}
.el-scegli[hidden]{display:none}
.el-scegli label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.el-scegli input{width:20px;height:20px;margin:2px 0 0;flex:none}
.el-scegli .btn{flex:none;justify-self:start}
@media (max-width:760px){.el-consenso{left:8px;right:8px;font-size:14px;padding:14px 46px 14px 14px}.el-consenso .btn{padding:8px 10px}}
