/* Alba Energia: un solo foglio di stile per tutto il sito.
   Fondo chiaro, verde bosco per testi e blocchi scuri, giallo solo per l'azione principale. */
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/hanken-grotesk-latin.woff2) format("woff2");
}
:root {
  color-scheme: light;
  --ink: #15211b; --ink-2: #4b5952; --muted: #6f7b75; --line: #e2e5e1;
  --bg: #f6f6f3; --surface: #ffffff; --mist: #eceeea; --tint: #e8f3ed;
  --forest: #133d2b; --forest-2: #1d5139; --green: #0b8653; --sun: #f5bd00;
  --font: "Hanken Grotesk", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:not([class]) { color: var(--green); text-underline-offset: 3px; }
footer a:not([class]) { color: #e3ede8; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; font-weight: 600; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- vetro liquido ---------- */
.glass {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate;
  background: linear-gradient(150deg, rgba(255,255,255,.80), rgba(255,255,255,.58));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(21,33,27,.05), 0 20px 50px rgba(21,33,27,.08);
}

/* ---------- barra in alto ---------- */
.top { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 999px; padding: 7px 8px 7px 20px; }
.top .logo { display: flex; align-items: center; }
.top .logo img { height: 36px; width: auto; display: block; }
.menu { display: none; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: rgba(21,33,27,.05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(21,33,27,.06); }
.nav a.cta { background: var(--forest); color: #fff; }
.nav a.cta:hover { background: var(--forest-2); }
.nav a.home { display: none; }
@media (max-width: 860px) {
  /* telefono: una sola riga opaca, menu a tendina */
  .top { top: 0; }
  .top .wrap { padding-inline: 0; }
  .top .bar { border-radius: 0; padding: 0 8px 0 16px; height: 60px; background: rgba(255,255,255,.97); border: 0; border-bottom: 1px solid var(--line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top .logo img { height: 30px; }
  .menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; cursor: pointer; color: var(--ink); }
  .menu span, .menu span::before, .menu span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
  .menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
  .menu span::before { top: -6px; } .menu span::after { top: 6px; }
  .open .menu span { background: transparent; }
  .open .menu span::before { transform: translateY(6px) rotate(45deg); }
  .open .menu span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 12px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(21,33,27,.10); }
  .open .nav { display: flex; }
  .nav a { font-size: 17px; padding: 14px 12px; border-radius: 10px; }
  .nav a.cta { margin-top: 8px; text-align: center; }
}
.nav a.cta[aria-current="page"] { background: var(--forest); color: #fff; }

/* ---------- testata della Home (pannello 3D) ---------- */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(900px 600px at 80% 20%, #fff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #e9ece8 0%, var(--bg) 100%); }
.hero .layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: 100svh; padding-block: 120px 64px; }
.hero .stage { position: relative; height: min(76svh, 700px); min-width: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.panel-shadow { position: absolute; left: 50%; bottom: 5%; width: 56%; height: 28px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(21,33,27,.22), transparent); filter: blur(8px); }
.hero .fallback { position: absolute; inset: 10% 16%; border-radius: 4px; background: linear-gradient(150deg, #1b2230, #0d1118); box-shadow: inset 0 0 0 6px #d7dbde, 0 30px 60px rgba(0,0,0,.18); transform: perspective(900px) rotateY(-18deg) rotateX(8deg); }
.hero.has-3d .fallback { display: none; }
.hero .content { position: relative; z-index: 2; min-width: 0; display: grid; gap: 26px; }
.kicker { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); display: flex; align-items: flex-start; gap: 10px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; margin-top: .5em; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.03; margin: 0; max-width: 13ch; }
.hero h1 em, .page-head h1 em { font-style: normal; color: var(--green); }
.hero .intro { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); max-width: 540px; }
.facts li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) {
  .hero .layout { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 128px 52px; gap: 4px; }
  .hero .stage { order: -1; height: 40svh; min-height: 260px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .facts li { border-right: 0; margin-right: 0; padding-right: 0; }
}

/* ---------- testata delle altre pagine ---------- */
.page-head { background: radial-gradient(800px 420px at 85% 0%, #fff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #e9ece8 0%, var(--bg) 100%); padding-block: 150px 64px; }
.page-head .content { display: grid; gap: 22px; max-width: 760px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0; }
.page-head .intro { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 860px) { .page-head { padding-block: 132px 44px; } }

/* ---------- pulsanti ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { --lift: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: inherit; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 24px;
  background: var(--forest); color: #fff; transform: translateY(var(--lift)); transition: transform .2s, background .2s, box-shadow .2s; box-shadow: 0 8px 20px rgba(19,61,43,.18); }
.btn:hover { --lift: -1px; background: var(--forest-2); box-shadow: 0 12px 26px rgba(19,61,43,.24); }
.btn.sun { background: var(--sun); color: #1b1600; box-shadow: 0 8px 20px rgba(245,189,0,.28); }
.btn.sun:hover { background: #e9b300; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(21,33,27,.22); }
.btn.ghost:hover { background: rgba(21,33,27,.04); }
.btn.wide { width: 100%; margin-top: 12px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn:focus-visible, .nav a:focus-visible, .opt:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .link:focus-visible, summary:focus-visible { outline: 3px solid #2f7bd8; outline-offset: 3px; }

/* ---------- sezioni ---------- */
section.band { position: relative; padding-block: 88px; }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band.dark, .band-why { background: var(--forest); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.band.dark .eyebrow, .band-why .eyebrow { color: #9fd3b8; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.1; margin: 0 0 14px; }
h3 { font-size: 22px; line-height: 1.25; margin: 0; }
.lead { max-width: 60ch; margin: 0 0 40px; font-size: 18px; color: var(--ink-2); }
.band.dark .lead, .band-why .lead { color: #c9ddd2; }
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
@media (min-width: 780px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); font-size: 18px; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }

.card { border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; transition: box-shadow .3s; }
.card, .card.solid { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(21,33,27,.04); }
a.card { text-decoration: none; }
a.card:hover, .card.solid:hover { box-shadow: 0 24px 50px rgba(21,33,27,.08); }
.card h3 { font-size: 21px; }
.card p { margin: 0; color: var(--ink-2); }
.band.dark .card p, .band-why .card p { color: #c9ddd2; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); }
.card ul li { padding-left: 22px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--green); }
.card .tag, .tag { justify-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card .ico, .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--green); }
.band.dark .card .ico, .band-why .card .ico { background: rgba(255,255,255,.1); color: #bfe3cf; }
.card .btn { justify-self: start; margin-top: 8px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--green); display: grid; place-items: center; font-weight: 600; }
.more { font-weight: 600; color: var(--green); }

.reveal { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.js-motion .reveal.wait { transform: translateY(24px); }

/* ---------- tabelle dati ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 16px; }
table.data.wide { min-width: 560px; }
.table-wrap:has(.wide) { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
@media (min-width: 600px) { .table-wrap:has(.wide) { -webkit-mask-image: none; mask-image: none; } }
table.data.wide td:first-child, table.data.wide th:first-child { position: sticky; left: 0; background: var(--surface); }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.data th { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.n, table.data th.n { text-align: right; font-variant-numeric: tabular-nums; }
table.data a { color: var(--green); }
.source { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ---------- domande frequenti ---------- */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 2px 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- invito finale ---------- */
.final { padding-block: 88px; background: var(--bg); }
.final .box { max-width: 820px; border-radius: 28px; padding: clamp(32px, 6vw, 64px); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; justify-items: start; }
.final h2 { max-width: 20ch; margin: 0; }
.final p:not(.eyebrow) { max-width: 52ch; margin: 0; font-size: 18px; color: var(--ink-2); }
.final .eyebrow { margin: 0; }

/* ---------- moduli ---------- */
.formbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 60px rgba(21,33,27,.06); padding: 28px 22px; }
@media (min-width: 600px) { .formbox { padding: 34px 38px; } }
label.f { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1px solid #cfd5d0; border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(11,134,83,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 16px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.err { color: #b42318; font-size: 14px; margin-top: 10px; min-height: 1em; }
.hp { position: absolute; left: -9999px; }
.ok { background: var(--tint); border: 1px solid #cfe6d9; border-radius: 14px; padding: 18px; font-weight: 600; }
.info { margin: 0; }
.info dt { font-weight: 600; margin-top: 16px; }
.info dd { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- calcolatore ---------- */
.calc { max-width: 680px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px rgba(21,33,27,.08); padding: 28px 22px 26px; }
@media (min-width: 600px) { .calc { padding: 38px 42px; } }
.calc-title { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.calc-title .stepcount { color: var(--muted); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.progress { height: 4px; background: var(--mist); border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.step { display: none; }
.step.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 6px; }
.hint { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.opts { display: grid; gap: 10px; }
@media (min-width: 600px) { .opts.two { grid-template-columns: 1fr 1fr; } }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1px solid #cfd5d0; border-radius: 14px; padding: 14px 16px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.opt:hover { border-color: var(--green); }
.opt.sel { border-color: var(--green); background: #f1f8f4; box-shadow: 0 0 0 1px var(--green); }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b8c3bc; flex: none; }
.opt.sel .dot { border-color: var(--green); background: radial-gradient(circle, var(--green) 45%, transparent 50%); }
.navrow { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.navrow[hidden] { display: none; }
.back { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 0; }
.back[hidden] { visibility: hidden; display: inline; }
.stepcount { color: var(--muted); font-size: 14px; }
.unit { position: relative; }
.unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.unit input { padding-right: 76px; }
.link { background: none; border: 0; padding: 6px 0; color: var(--green); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.row-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.res-head { background: #f1f8f4; border: 1px solid #d6eadf; border-radius: 16px; padding: 20px; margin: 6px 0 16px; }
.res-head .lbl { color: var(--ink-2); font-size: 15px; }
.res-head .big { font-size: clamp(28px, 6vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 2px 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.kpi b { display: block; font-size: 19px; font-weight: 600; white-space: nowrap; }
.kpi span { color: var(--muted); font-size: 13px; }
.scen { width: 100%; border-collapse: collapse; font-size: 15px; margin: 4px 0 16px; }
.scen th, .scen td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.scen th { color: var(--muted); font-weight: 600; font-size: 13px; }
.scen td:last-child, .scen th:last-child { text-align: right; }
.scen tr.hl td { font-weight: 600; background: #f6faf8; }
.how { background: var(--bg); border-radius: 14px; padding: 4px 16px; margin-top: 6px; }
.how summary { font-size: 15px; cursor: pointer; padding: 12px 0; font-weight: 600; }
.how ul { margin: 0 0 14px; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.how li { margin: 4px 0; }
.warn { background: #fff8e1; border: 1px solid #f0dc97; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 0 0 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- barra fissa sul telefono ---------- */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; gap: 10px; transition: transform .25s, opacity .25s; }
.sticky .btn { flex: 1; }
.sticky .wa { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.sticky .wa[hidden] { display: none; }
.sticky.hide { transform: translateY(130%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .sticky .btn { display: none; } .sticky { left: auto; right: 24px; bottom: 24px; } }

/* ---------- piede ---------- */
footer { background: #0e2a1e; color: #b8cdc2; padding-block: 56px 40px; font-size: 15px; }
footer .cols { display: grid; gap: 28px; }
@media (min-width: 780px) { footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
footer h4 { color: #fff; margin: 0 0 10px; font-weight: 600; font-size: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { color: #e3ede8; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8fa89b; line-height: 1.7; }
footer [data-tel]:not(:empty) { display: block; }
.has-sticky footer { padding-bottom: 110px; }
@media (min-width: 900px) { .has-sticky footer { padding-bottom: 40px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card, .btn, .step.on { transition: none; animation: none; }
}

/* Il badge che Netlify aggiunge in basso copriva i pulsanti sul telefono */
#nl-badge-frame, #nl-hud-frame { display: none !important; }

/* ---------- moduli: due scelte affiancate ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- ritmo: niente doppi vuoti tra fasce dello stesso colore ---------- */
.band:not(.alt):not(.dark):not(.band-why) + .band:not(.alt):not(.dark):not(.band-why),
.band:not(.alt):not(.dark):not(.band-why) + .final { padding-top: 0; }
.page-head + .band:not(.alt):not(.dark) { padding-top: 24px; }

/* ---------- telefono ---------- */
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  .page-head { padding-block: 92px 36px; }
  .page-head .content { gap: 16px; }
  .hero .layout { padding-block: 84px 40px; gap: 20px; }
  .hero .stage { order: 0; height: 230px; min-height: 0; }
  .hero .content { gap: 20px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .facts li { font-size: 13px; padding: 0; margin: 0; border: 0; }
  .facts strong { font-size: 14px; }
  #calcolo.band { padding-top: 0; }
}
@media (max-width: 780px) {
  section.band, .final { padding-block: 56px; }
  .band:not(.alt):not(.dark):not(.band-why) + .band:not(.alt):not(.dark):not(.band-why),
  .band:not(.alt):not(.dark):not(.band-why) + .final { padding-top: 0; }
  .form-first .formbox { order: -1; }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  footer ul { gap: 0; }
  footer ul a { display: inline-block; padding: 6px 0; }
  footer .legal { line-height: 1.55; }
}
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.55; }
  .prose p, .prose li, .lead, .final p:not(.eyebrow), .page-head .intro { font-size: 16.5px; }
  .lead { margin-bottom: 24px; }
  h2 { font-size: 27px; }
  .prose h2 { margin-top: 36px; }
  .card { padding: 20px; gap: 8px; }
  .card h3 { font-size: 19px; }
  /* schede con icona o numero: icona a sinistra, testo accanto */
  .card:has(> .ico), .card:has(> .num) { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .card > .ico, .card > .num { grid-row: span 2; width: 40px; height: 40px; }
  .card:has(> .ico) > :not(.ico), .card:has(> .num) > :not(.num) { grid-column: 2; }
  /* elenco zone: righe compatte */
  a.card { padding: 14px 16px; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  a.card .tag, a.card p { display: none; }
  a.card h3 { font-size: 17px; }
  a.card .more { font-size: 0; }
  a.card .more::after { content: "›"; font-size: 24px; line-height: 1; }
  .g3:has(> a.card) { gap: 8px; }
  table.data th, table.data td { padding: 10px 12px; }
  table.data { font-size: 15px; }
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { justify-content: center; }
  .btn { padding: 14px 22px; }
  .row-actions .btn { flex: 1; }
  .final .box { padding: 28px 22px; }
  details.faq { padding: 0 16px; }
}

/* schede sul fondo verde scuro */
.band-why .card, .band.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; color: #fff; }

/* ---------- un solo stile in tutto il sito: titoli con lo stesso carattere della Home ---------- */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/source-serif-4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/source-serif-4-italic.woff2) format("woff2"); }
:root { --serif: "Source Serif 4", Georgia, "Times New Roman", serif; --bg: #f4f2ec; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
.hero h1 em, .page-head h1 em { font-style: italic; }
.page-head { background: radial-gradient(800px 420px at 85% 0%, #fbfaf6 0%, rgba(251,250,246,0) 60%), linear-gradient(180deg, #ebe7dc 0%, var(--bg) 100%); }

/* ---------- prezzi: listino, configuratore, fascia prezzi ---------- */
.pz h2 em, .pz-band h2 em { font-style: italic; color: var(--green); }
.band.dark h2 em { color: var(--sun); }
.pz-badge { display: inline-block; vertical-align: middle; font: 600 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #1b1600; background: var(--sun); border-radius: 999px; padding: 5px 9px; margin-left: 6px; }

.pz-hero { position: relative; min-height: min(760px, 100svh); display: grid; align-items: center; overflow: hidden; background: #a9c8e3; }
.pz-hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.pz-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(246,246,243,.96) 0%, rgba(246,246,243,.88) 38%, rgba(246,246,243,0) 60%); }
.pz-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 128px 64px; }
.pz-hero-txt { max-width: 560px; display: grid; gap: 20px; }
.pz-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; margin: 0; }
.pz-hero h1 em { font-style: italic; color: var(--green); white-space: nowrap; }
.pz-hero .intro { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 48ch; }
.pz-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pz-facts li { font-size: 14px; color: var(--ink-2); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.9); border-radius: 12px; padding: 8px 12px; line-height: 1.3; }
.pz-facts b { display: block; font-size: 17px; color: var(--ink); }
@media (max-width: 700px) {
  .pz-hero { min-height: 0; align-items: end; }
  .pz-hero-pic img { object-position: 50% 0; }
  .pz-hero::before { background: linear-gradient(180deg, rgba(246,246,243,0) 22%, rgba(246,246,243,.93) 40%, var(--bg) 52%); }
  .pz-hero .wrap { padding-block: 41svh 36px; }
  .pz-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .pz-hero h1 em { white-space: normal; }
  .pz-hero .crumbs { display: none; }
  .pz-facts li { flex: 1 1 0; font-size: 12.5px; padding: 8px 10px; }
  .pz-facts b { font-size: 16px; }
}

.pz-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .pz-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; } .pz-card { position: sticky; top: 100px; } }
.pz-ctrl { display: grid; gap: 26px; }
.pz-f { border: 0; margin: 0; padding: 0; min-width: 0; }
.pz-f legend { font-weight: 600; font-size: 16px; margin-bottom: 10px; padding: 0; }
.pz-lines { display: grid; gap: 10px; }
@media (min-width: 600px) { .pz-lines { grid-template-columns: 1fr 1fr; } }
.pz-line, .pz-seg label, .pz-extra label { position: relative; cursor: pointer; }
.pz-line input, .pz-seg input, .pz-extra input { position: absolute; opacity: 0; pointer-events: none; }
.pz-line span { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.pz-line b { font-size: 18px; }
.pz-line small { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.pz-line i { font-style: normal; font-weight: 600; color: var(--green); margin-top: 4px; }
.pz-line input:checked + span, .pz-extra input:checked + span { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,134,83,.12), 0 14px 30px rgba(21,33,27,.07); }
.pz-line input:focus-visible + span, .pz-seg input:focus-visible + span, .pz-extra input:focus-visible + span { outline: 3px solid #2f7bd8; outline-offset: 2px; }
.pz-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--mist); border-radius: 14px; }
.pz-seg span { display: grid; place-items: center; text-align: center; padding: 10px 8px; border-radius: 11px; font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink-2); transition: background .2s, color .2s; }
.pz-seg small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.pz-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(21,33,27,.1); }
.pz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-chip { font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 14px; padding: 10px 16px; display: grid; justify-items: center; line-height: 1.2; min-width: 84px; transition: border-color .2s, background .2s, color .2s; }
.pz-chip small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.pz-chip:hover { border-color: #b9c4bd; }
.pz-chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pz-chip[aria-pressed="true"] small { color: #bfe3cf; }
.pz-chip:focus-visible { outline: 3px solid #2f7bd8; outline-offset: 2px; }
.pz-extra { display: grid; gap: 8px; }
@media (min-width: 600px) { .pz-extra { grid-template-columns: 1fr 1fr; } }
.pz-extra span { display: block; height: 100%; padding: 12px 14px 12px 44px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.pz-extra span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #b9c4bd; background: #fff; }
.pz-extra input:checked + span::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--green); }
.pz-extra i { font-style: normal; font-weight: 600; color: var(--green); white-space: nowrap; }
.pz-extra small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.pz-two { display: grid; gap: 16px; align-items: end; }
@media (min-width: 600px) { .pz-two { grid-template-columns: 1fr 1fr; } }
.pz-two label.f { margin-top: 0; }
.pz-casa legend { font-size: 15px; margin-bottom: 6px; }

.pz-card { background: var(--forest); color: #fff; border-radius: 26px; padding: 28px 26px; display: grid; gap: 14px; box-shadow: 0 30px 70px rgba(19,61,43,.28); position: relative; overflow: hidden; isolation: isolate; }
.pz-card::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(245,189,0,.28), rgba(245,189,0,0) 68%); }
.pz-k { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9fd3b8; }
.pz-card h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin: 0; }
.pz-sub { margin: -6px 0 0; color: #c9ddd2; font-size: 14.5px; }
.pz-price b { display: block; font-size: clamp(46px, 6vw, 58px); line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pz-price span { color: #c9ddd2; font-size: 14px; }
.pz-lines-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; color: #c9ddd2; }
.pz-lines-out:empty { display: none; }
.pz-lines-out li { display: flex; justify-content: space-between; gap: 12px; }
.pz-lines-out li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-net { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pz-net > div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
.pz-net span { font-size: 13px; color: #c9ddd2; line-height: 1.3; }
.pz-net b { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pz-net small { font-size: 12.5px; color: #9fbfae; }
.pz-net .pz-real { background: var(--sun); border-color: var(--sun); color: #1b1600; }
.pz-net .pz-real span, .pz-net .pz-real small { color: #4a3b00; }
.pz-prod { display: flex; gap: 10px; align-items: flex-start; color: #c9ddd2; font-size: 14px; }
.pz-prod svg { flex: none; color: var(--sun); margin-top: 1px; }
.pz-prod p { margin: 0; }
.pz-prod b { color: #fff; }
.pz-card .btn.wide { margin-top: 2px; }
.pz-fine { margin: 0; font-size: 12px; line-height: 1.45; color: #9fbfae; }

.pz-bar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(19,61,43,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.25); transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pz-bar.on { transform: none; }
.pz-bar small { display: block; font-size: 12.5px; color: #c9ddd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-bar b { font-size: 21px; font-variant-numeric: tabular-nums; }
.pz-bar > div { min-width: 0; }
.pz-bar .btn { padding: 12px 16px; font-size: 15px; flex: none; }
@media (min-width: 980px) { .pz-bar { display: none; } }

.pz-lcard .pz-from { margin: 0; color: var(--ink-2); }
.pz-lcard .pz-from b { font-size: 28px; color: var(--ink); letter-spacing: -.02em; }
.pz-exec { background: linear-gradient(160deg, #fffdf6, #fff 60%); border-color: #eadfb8; }
.pz-check { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.pz-check li { position: relative; padding-left: 36px; font-size: 18px; }
.pz-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8653' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/15px no-repeat; }
table.data small { color: var(--muted); font-size: 13.5px; }
.pz-bonus-tab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pz-yr { border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 14px; display: grid; gap: 2px; background: rgba(255,255,255,.04); }
.pz-yr span { font-size: 13px; color: #9fd3b8; font-weight: 600; }
.pz-yr b { font-family: var(--serif); font-size: clamp(34px, 5vw, 48px); line-height: 1; }
.pz-yr small { color: #c9ddd2; font-size: 13px; line-height: 1.3; }
.pz-yr.on { background: var(--sun); border-color: var(--sun); color: #1b1600; }
.pz-yr.on span, .pz-yr.on small { color: #4a3b00; }
.pz-bonus-tab p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 14px; color: #c9ddd2; }
.pz-h3 { margin: 0 0 12px; font-size: 19px; }
.pz-table tr.hl td { background: #fdf8e6; }
.pz-table td.n:nth-child(3) { font-weight: 600; }
details.pz-tri { margin-top: 18px; }
details.pz-tri summary { cursor: pointer; font-weight: 600; color: var(--green); padding: 10px 0 14px; }
.pz-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.pz-steps li { counter-increment: s; position: relative; padding-left: 46px; color: var(--ink-2); }
.pz-steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--green); display: grid; place-items: center; font-weight: 600; }
.pz-steps b { color: var(--ink); }
.pz-scelta { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: center; background: var(--tint); border: 1px solid #cfe6d9; border-radius: 14px; padding: 12px 14px; margin: 4px 0 8px; }
.pz-scelta span { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.pz-scelta b { font-size: 16px; }
.pz-scelta i { grid-column: 1; font-style: normal; font-size: 14px; color: var(--ink-2); }
.pz-scelta a { grid-column: 2; grid-row: 2 / span 2; font-size: 14px; font-weight: 600; color: var(--green); }
.formbox .q { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 8px; }
@media (max-width: 600px) {
  .pz-card { padding: 22px 18px; border-radius: 22px; }
  .pz-card h3 { font-size: 26px; }
  .pz-bonus-tab { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .pz-yr { padding: 12px 10px; }
  .pz-check li { font-size: 16.5px; }
  .pz-chip { min-width: 0; flex: 1 0 calc(25% - 8px); padding: 10px 6px; font-size: 15px; }
}
body.pz { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* fascia prezzi (Home e Fotovoltaico) */
.pz-band { position: relative; z-index: 2; padding-block: 88px; background: linear-gradient(180deg, #f4f2ec, #ebe7dc); }
.pz-band-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .pz-band-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.pz-band h2 { margin: 0 0 14px; }
.pz-band p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; margin: 0 0 24px; max-width: 48ch; }
.pz-tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.pz-tickets li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px; display: grid; gap: 4px; box-shadow: 0 10px 30px rgba(21,33,27,.06); }
.pz-tickets span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pz-tickets b { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.pz-tickets small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.pz-tickets li.on { background: var(--forest); color: #fff; border-color: var(--forest); padding-block: 26px; box-shadow: 0 24px 50px rgba(19,61,43,.25); }
.pz-tickets li.on span { color: #c9ddd2; }
.pz-tickets li.on small { color: #9fd3b8; }
.pz-tickets em { justify-self: start; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--sun); color: #1b1600; border-radius: 999px; padding: 4px 8px; margin-bottom: 4px; }
@media (max-width: 600px) {
  .pz-band { padding-block: 56px; }
  .pz-band p:not(.eyebrow) { font-size: 16.5px; }
  .pz-tickets { grid-template-columns: 1fr; }
  .pz-tickets li { grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 16px; }
  .pz-tickets li small { grid-column: 1 / -1; }
  .pz-tickets li.on { padding-block: 18px; order: -1; }
  .pz-tickets em { grid-column: 1 / -1; }
}
.pz-badge[hidden] { display: none; }
/* calcolatore: kit del listino più vicino */
.kit { background: var(--forest); color: #fff; border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; display: grid; gap: 6px; }
.kit .kit-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9fd3b8; }
.kit-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 20px; }
.kit-row b:last-child { color: var(--sun); white-space: nowrap; }
.kit p { margin: 0; font-size: 14px; color: #c9ddd2; line-height: 1.45; }
.kit a { color: var(--sun); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 600px) {
  .pz-table th:nth-child(2), .pz-table td:nth-child(2) { display: none; }
  .pz-table th, .pz-table td { padding: 10px 8px; }
  .pz-table td:first-child, .pz-table th:first-child { padding-left: 12px; }
  .pz-table td:last-child, .pz-table th:last-child { padding-right: 12px; }
  .pz-table .pz-badge { display: block; width: max-content; margin: 4px 0 0; }
  .pz-table .pz-badge[hidden] { display: none; }
}
/* pagina prezzi, telefono: etichetta sopra la foto in una pillola chiara, sempre leggibile */
@media (max-width: 700px) {
  .pz-hero .kicker { justify-self: start; align-items: center; font-size: 12.5px; letter-spacing: .06em; color: var(--forest); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; padding: 7px 12px; box-shadow: 0 4px 14px rgba(21,33,27,.12); }
  .pz-hero .kicker::before { margin-top: 0; }
}
