/* La landing di Preventivetro. Colori, font e misure sono quelli del design system (docs/design-system/tokens.json) e
   della tela (docs/landing/tela/). Tre misure di pagina: telefono (da 390 px), tablet (da 640) e computer (da 1024);
   il disegno esatto è a 1440 e a 390. Nessuna ombra tranne dove la tela la mette (telefoni e riquadri del disegno). */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
/* Solo le lettere di "Alessandro", per la firma. */
@font-face { font-family: "Caveat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/caveat-alessandro-600.woff2") format("woff2"); }

:root {
  --surface: #faf8f3;
  --raised: #ffffff;
  --sunken: #f1eee7;
  --ink: #1c2126;
  --muted: #5a6570;
  --brand: #0e6b58;
  --on-brand: #ffffff;
  --tint: #dff0e9;
  --amber: #8a5a00;
  --amber-tint: #fbefd3;
  --line: #d9dcd6;
  --strong: #7a847f;
  /* Le parti scure (il video, il risultato del conto del tempo, i telefoni): il tema scuro dei token. */
  --notte: #14181b;
  --notte-riga: #2e363b;
  --notte-chip: #252d32;
  --notte-testo: #eef0ec;
  --notte-muted: #a3aeb4;
  --notte-verde: #5fcfae;
  --notte-sul-verde: #0f1a16;
  --telefono: #0e1113;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sez-scura :focus-visible, .tel-ap :focus-visible { outline-color: var(--notte-verde); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.solo-lettori { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-weight: 500; }

/* ---------- pezzi comuni ---------- */

.wrap { --pad: 16px; max-width: calc(1120px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
@media (min-width: 640px) { .wrap { --pad: 32px; } }
@media (min-width: 1024px) { .wrap { --pad: clamp(48px, calc((100vw - 1120px) / 2), 160px); } }
/* Prima e dopo ha i margini a 80 px (contenuto 1280). */
.wrap-largo { --pad: 16px; max-width: calc(1280px + 2 * var(--pad)); }
@media (min-width: 640px) { .wrap-largo { --pad: 32px; } }
@media (min-width: 1300px) { .wrap-largo { --pad: clamp(32px, calc((100vw - 1280px) / 2), 80px); } }

.sez { padding-block: 40px; }
@media (min-width: 640px) { .sez { padding-block: 64px; } }
@media (min-width: 1024px) { .sez { padding-block: 88px; } }
.sez-bianca { background: var(--raised); }
.sez-chiara { background: var(--surface); }
.sez-sabbia { background: var(--sunken); }
.sez-scura { background: var(--notte); color: var(--notte-testo); }

.pila { display: flex; flex-direction: column; gap: 24px; }
.pila-problema { gap: 28px; }
@media (min-width: 1024px) { .pila { gap: 36px; } .pila-problema, .pila-prima-dopo { gap: 40px; } }

.intestazione { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.intestazione-larga { max-width: 820px; }
.titolo { font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
@media (min-width: 640px) { .titolo { font-size: 34px; } }
@media (min-width: 1024px) { .titolo { font-size: 40px; } }
.lead { font: 400 18px/28px var(--sans); color: var(--muted); }
.lead-scuro { color: var(--notte-muted); }
.sopra { font: 600 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.sopra-scuro { color: var(--notte-verde); }
.sopra-sans { font: 600 13px/18px var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; font: 600 17px var(--sans); text-decoration: none; text-align: center; }
.btn .ico { flex: none; }
.btn-primario { background: var(--brand); color: var(--on-brand); }
.btn-primario:hover { filter: brightness(0.92); }
.btn-secondario { border-color: var(--strong); color: var(--ink); background: transparent; }
.btn-secondario:hover { background: var(--sunken); }
.btn-medio { height: 46px; font-size: 15px; }
.azioni { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.spunte { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.spunte li { display: flex; gap: 8px; align-items: center; font: 500 15px/22px var(--sans); }
.spunta { flex: none; margin-top: 2px; color: var(--brand); }
.spunte-piccole { gap: 6px 18px; }
.spunte-piccole li { gap: 6px; font-size: 14px; line-height: 1.5; }

/* I numeri nei cerchi verdi: la stessa cosa nella foto, nell'elenco e nel preventivo. */
.spillo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; background: var(--brand); color: #fff; font: 600 12px/1 var(--mono); }

/* ---------- testata ---------- */

.testata { border-bottom: 1px solid var(--line); background: var(--surface); padding-inline: 16px; }
.testata-dentro { display: flex; align-items: center; gap: 20px; max-width: 1120px; min-height: 60px; margin-inline: auto; }
.logo { font: 600 18px/1 var(--sans); text-decoration: none; }
.testata-menu { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.testata-link { display: none; padding: 10px 4px; font: 500 15px var(--sans); text-decoration: none; }
.testata-entra { color: var(--brand); }
.btn-testata { height: 40px; padding: 0 14px; font-size: 14px; }
@media (min-width: 640px) {
  .testata { padding-inline: 32px; }
  .testata-dentro { min-height: 72px; }
  .logo { font-size: 20px; }
  .testata-link { display: inline-block; }
  .btn-testata { height: 44px; padding: 0 18px; font-size: 15px; }
}
@media (min-width: 1024px) { .testata { padding-inline: 48px; } }

/* ---------- 1. apertura ---------- */

.apertura-testo { display: flex; flex-direction: column; gap: 14px; padding: 22px 16px 28px; }
.apertura h1 { font-weight: 600; font-size: 32px; line-height: 1.08; letter-spacing: -0.01em; }
.apertura h1 span { display: block; margin-top: 10px; font-size: 21px; line-height: 1.2; font-weight: 500; color: var(--brand); }
.apertura-corpo { font: 400 16px/24px var(--sans); color: var(--muted); }

.apertura-visuale { border-block: 1px solid var(--line); }
.scena { container-type: inline-size; }
.quadro { --u: calc(100cqw / 860); position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 860 / 788; }
.quadro-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.fili, .tel-ap, .editor-ap { display: none; }
.spillo-ap { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.s1 { --x: 26.279%; --y: 45.051%; }
.s2 { --x: 32.326%; --y: 70.051%; }
.s3 { --x: 55.581%; --y: 22.716%; }
.s4 { --x: 33.372%; --y: 55.33%; }
.s5 { --x: 63.488%; --y: 85.025%; }

.pezzi { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; max-width: 592px; margin-inline: auto; }
.pezzi-titolo { font: 600 15px var(--sans); }
.pezzi-elenco { display: flex; flex-direction: column; gap: 10px; }
.pezzi-elenco li { display: flex; gap: 10px; align-items: center; font: 400 15px/22px var(--sans); }
.pezzi-nome { flex: 1 1 auto; }
.pezzi-importo { font: 500 14px var(--mono); }
.pezzi-totale { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
.pezzi-totale span { font: 500 14px var(--sans); color: var(--muted); }
.pezzi-totale b { font: 600 18px var(--mono); color: var(--brand); }

@media (min-width: 640px) {
  .apertura-testo { padding: 32px; max-width: 760px; margin-inline: auto; }
  .apertura h1 { font-size: 40px; }
  .apertura h1 span { font-size: 24px; }
  .apertura-visuale { border-block: 0; padding-bottom: 16px; }
  .quadro { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .quadro-foto { border-radius: 0; }
}
@media (min-width: 1024px) { .apertura h1 { font-size: 46px; } .apertura h1 span { font-size: 28px; } .apertura-corpo { font-size: 17px; line-height: 27px; } }

/* Dal computer: il testo a sinistra, la foto a destra con i fili che portano al preventivo sul telefono. */
@media (min-width: 1100px) {
  .apertura { display: grid; grid-template-columns: 580fr 860fr; max-width: 1440px; margin-inline: auto; }
  .apertura-testo { justify-content: center; gap: 20px; max-width: none; margin: 0; padding: 0 calc(100vw * 64 / 1440) 0 calc(100vw * 80 / 1440); }
  .apertura h1 { font-size: clamp(36px, 3.194vw, 46px); }
  .apertura h1 span { font-size: clamp(22px, 1.944vw, 28px); }
  .apertura-corpo { font-size: clamp(15px, 1.18vw, 17px); line-height: 1.59; }
  .apertura-visuale { border-block: 0; border-left: 1px solid var(--line); padding: 0; }
  .quadro { max-width: none; border: 0; border-radius: 0; overflow: visible; }
  .fili { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .spillo-ap { width: calc(var(--u) * 28); height: calc(var(--u) * 28); border-width: calc(var(--u) * 2); font-size: calc(var(--u) * 12); }
  .pezzi { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }

  .tel-ap { display: block; position: absolute; left: 68.605%; top: 12.183%; width: calc(var(--u) * 250); padding: calc(var(--u) * 8); border-radius: calc(var(--u) * 28); background: var(--telefono); box-shadow: 0 calc(var(--u) * 18) calc(var(--u) * 40) rgba(0, 0, 0, 0.35); }
  .tel-ap-schermo { border-radius: calc(var(--u) * 20); background: #fff; overflow: hidden; }
  .tel-ap-testa { display: flex; align-items: center; gap: calc(var(--u) * 10); height: calc(var(--u) * 56); padding: 0 calc(var(--u) * 12); border-bottom: 1px solid var(--line); }
  .tel-ap-logo { display: flex; align-items: center; justify-content: center; width: calc(var(--u) * 30); height: calc(var(--u) * 30); border: 1px dashed var(--strong); border-radius: calc(var(--u) * 4); font: 500 calc(var(--u) * 8) var(--mono); color: var(--muted); }
  .tel-ap-chi { display: flex; flex-direction: column; }
  .tel-ap-chi b { font: 600 calc(var(--u) * 12) var(--sans); }
  .tel-ap-chi small { font: 400 calc(var(--u) * 10) var(--sans); color: var(--muted); }
  .tel-ap-titolo { display: flex; align-items: center; height: calc(var(--u) * 34); padding: 0 calc(var(--u) * 12); font: 600 calc(var(--u) * 14) var(--sans); }
  .tel-ap-riga { display: flex; align-items: center; gap: calc(var(--u) * 8); height: calc(var(--u) * 46); padding: 0 calc(var(--u) * 12); border-top: 1px solid var(--line); }
  .spillo-mini { width: calc(var(--u) * 20); height: calc(var(--u) * 20); border-width: calc(var(--u) * 2); font-size: calc(var(--u) * 12); }
  .tel-ap-voce { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
  .tel-ap-voce b { overflow: hidden; font: 500 calc(var(--u) * 12) / calc(var(--u) * 15) var(--sans); white-space: nowrap; text-overflow: ellipsis; }
  .tel-ap-voce small { font: 400 calc(var(--u) * 10) / calc(var(--u) * 13) var(--mono); color: var(--muted); }
  .tel-ap-importo { font: 500 calc(var(--u) * 11) var(--mono); white-space: nowrap; }
  .tel-ap-totale { display: flex; justify-content: space-between; align-items: baseline; padding: calc(var(--u) * 10) calc(var(--u) * 12); border-top: 1px solid var(--line); }
  .tel-ap-totale span { font: 500 calc(var(--u) * 11) var(--sans); color: var(--muted); }
  .tel-ap-totale b { font: 600 calc(var(--u) * 15) var(--mono); color: var(--brand); }
  .tel-ap-fondo { display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding: 0 calc(var(--u) * 12) calc(var(--u) * 12); }
  .tel-ap-firma { display: flex; align-items: center; justify-content: center; height: calc(var(--u) * 56); border: 1px dashed var(--strong); border-radius: calc(var(--u) * 6); background: var(--surface); color: var(--ink); }
  .tel-ap-firma svg { width: calc(var(--u) * 150); height: calc(var(--u) * 40); }
  .tel-ap-accetto { display: flex; align-items: center; justify-content: center; height: calc(var(--u) * 36); border-radius: calc(var(--u) * 6); background: var(--brand); color: #fff; font: 600 calc(var(--u) * 13) var(--sans); }

  .editor-ap { display: flex; flex-direction: column; gap: calc(var(--u) * 9); position: absolute; left: calc(var(--u) * -40); bottom: calc(var(--u) * 36); width: calc(var(--u) * 300); padding: calc(var(--u) * 14); border: 1px solid var(--line); border-radius: calc(var(--u) * 6); background: #fff; box-shadow: 0 calc(var(--u) * 12) calc(var(--u) * 28) rgba(28, 33, 38, 0.18); }
  .editor-ap-testa, .editor-ap-titolo { display: flex; justify-content: space-between; align-items: center; }
  .editor-ap-testa { font: 500 calc(var(--u) * 11) var(--sans); color: var(--muted); }
  .editor-ap-bozza { padding: calc(var(--u) * 1) calc(var(--u) * 7); border-radius: calc(var(--u) * 4); background: var(--sunken); }
  .editor-ap-titolo { align-items: baseline; }
  .editor-ap-titolo b { font: 600 calc(var(--u) * 14) var(--sans); }
  .editor-ap-titolo span { font: 500 calc(var(--u) * 13) var(--mono); }
  .editor-ap hr { height: 1px; margin: 0; border: 0; background: var(--line); }
  .editor-ap-voce { display: flex; justify-content: space-between; gap: calc(var(--u) * 8); font: 400 calc(var(--u) * 12) var(--sans); }
  .editor-ap-voce span:last-child { font: 500 calc(var(--u) * 12) var(--mono); }
  .editor-ap-tasti { display: flex; gap: calc(var(--u) * 6); padding-top: calc(var(--u) * 2); }
  .editor-ap-tasti span { display: inline-flex; align-items: center; height: calc(var(--u) * 28); padding: 0 calc(var(--u) * 10); border: 1px solid var(--strong); border-radius: calc(var(--u) * 4); font: 600 calc(var(--u) * 12) var(--sans); }
}

/* ---------- 2. il problema ---------- */

.problema-sotto { display: flex; flex-direction: column; gap: 6px; margin-top: -8px; }
.problema-sotto h3 { font: 600 19px/26px var(--sans); }
.problema-sotto p { font: 400 17px/26px var(--sans); color: var(--muted); }
@media (min-width: 1024px) { .problema-sotto { margin-top: -16px; } .problema-sotto h3 { font-size: 22px; line-height: 30px; } }

.tempo { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.tempo-ingressi { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tempo-esito { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; border-radius: 10px; background: var(--ink); color: var(--notte-testo); }
.stepper { display: flex; flex-direction: column; gap: 8px; }
.stepper-etichetta { font: 500 14px var(--sans); color: var(--muted); }
.stepper-riga { display: flex; align-items: center; height: 52px; border: 1px solid var(--strong); border-radius: 6px; background: #fff; overflow: hidden; }
.stepper-tasto { width: 52px; height: 100%; border: 0; background: var(--sunken); color: var(--ink); font: 500 22px var(--sans); }
.stepper-tasto:first-child { border-right: 1px solid var(--line); }
.stepper-tasto:last-child { border-left: 1px solid var(--line); }
.stepper-tasto:hover { background: var(--line); }
.stepper-valore { flex: 1 1 auto; text-align: center; font: 600 22px var(--mono); }
.stepper-unita { font: 400 14px var(--sans); color: var(--muted); }
.tempo-piccolo { font: 500 14px var(--sans); color: var(--notte-muted); }
.tempo-ore { font: 600 48px/1 var(--mono); color: var(--notte-verde); }
.tempo-frase { font: 500 18px/26px var(--sans); }
.tempo-nota { font: 400 14px/20px var(--sans); color: var(--notte-muted); }
@media (min-width: 1024px) { .tempo-ore { font-size: 64px; } }

/* ---------- 3. prima e dopo ---------- */

.pd-riga { display: flex; flex-direction: column; gap: 24px; }
.prima, .dopo { display: flex; flex-direction: column; gap: 14px; max-width: 580px; }
.etichetta { align-self: flex-start; padding: 2px 10px; border-radius: 4px; font: 600 13px var(--sans); }
.etichetta-neutra { background: var(--sunken); color: var(--muted); }
.etichetta-verde { background: var(--tint); color: var(--brand); }
.prima-figura { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.prima-figura figcaption { font: 400 14px/20px var(--sans); color: var(--muted); }
.foglio { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 28px 24px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: 400 13px/19px "Courier New", Courier, monospace; color: #333; }
.foglio-titolo { font: 700 16px "Courier New", Courier, monospace; }
.foglio-staccato { margin-top: 8px; }

.pv { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 18px 40px rgba(28, 33, 38, 0.1); font-family: var(--sans); }
.pv-testata { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--brand); }
.pv-chi { display: flex; gap: 12px; align-items: center; }
.pv-logo { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px dashed var(--strong); border-radius: 4px; font: 500 9px var(--mono); color: var(--muted); }
.pv-chi-testo { display: flex; flex-direction: column; gap: 2px; }
.pv-chi-testo b { font: 600 16px var(--sans); }
.pv-chi-testo small { font: 400 11px/15px var(--sans); color: var(--muted); }
.pv-numero { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font: 400 11px/15px var(--sans); color: var(--muted); }
.pv-numero b { font: 600 13px var(--sans); color: var(--ink); }
.pv-cliente { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font: 400 12px/17px var(--sans); color: var(--muted); }
.pv-cliente b { color: var(--ink); font-weight: 600; }
.pv-titolo { font: 600 17px var(--sans); }
.pv-opzione { position: relative; display: flex; flex-wrap: wrap; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; }
.pv-foto { display: block; flex: 0 0 100%; }
.pv-foto img { width: 100%; height: 150px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.pv-foto-2 img { height: 110px; object-position: 30% 60%; filter: saturate(0.9) hue-rotate(-8deg); }
.pv-opzione-testo { display: flex; flex: 1 1 220px; flex-direction: column; gap: 6px; min-width: 0; }
.pv-opzione-riga { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pv-opzione-riga b { font: 600 15px var(--sans); }
.pv-prezzo { font: 600 15px var(--mono); color: var(--brand); white-space: nowrap; }
.pv-descrizione { font: 400 13px/19px var(--sans); }
.pv-ferr { position: relative; display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.pv-pezzo { display: flex; align-items: center; gap: 8px; }
.pv-pezzo img { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pv-pezzo span { font: 400 12px/16px var(--sans); color: var(--muted); }
.pv-compresi { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 12px; border-radius: 4px; background: var(--surface); font: 400 12px/17px var(--sans); }
.pv-compresi span:last-child { color: var(--muted); }
.pv-condizioni { font: 400 11px/16px var(--sans); color: var(--muted); }
.pv-firma { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pv-firma-box { display: flex; flex-direction: column; gap: 4px; font: 400 12px var(--sans); color: var(--muted); }
.pv-firma-box svg { color: var(--ink); }
.pv-tasto { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 6px; background: var(--brand); color: #fff; font: 600 13px var(--sans); }

/* Sul telefono: sotto ogni parte, una nuvoletta che la spiega. */
.nuvola { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--brand); color: #fff; }
.nuvola::before { content: ""; position: absolute; top: -6px; left: 20px; width: 12px; height: 12px; background: var(--brand); transform: rotate(45deg); }
.nuvola-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--brand); font: 600 12px var(--mono); }
.nuvola-testo { display: flex; flex-direction: column; gap: 2px; }
.nuvola-testo b { font: 600 14px/20px var(--sans); }
.nuvola-testo span { font: 400 13px/19px var(--sans); color: rgba(255, 255, 255, 0.9); }
.spillo-pd, .spiegazioni { display: none; }

@media (min-width: 640px) {
  .pv { padding: 28px; }
  .pv-numero { align-items: flex-end; }
  .pv-foto { flex: 0 0 130px; }
  .pv-foto img { height: 130px; }
  .pv-foto-2 img { height: 100px; }
}
/* Dal computer: tre colonne, i numeri accanto al foglio e le spiegazioni a destra. */
@media (min-width: 1300px) {
  .pd-riga { flex-direction: row; align-items: flex-start; gap: 40px; }
  .prima { flex: 0 0 340px; }
  .dopo { flex: 0 0 600px; max-width: none; padding-left: 20px; }
  .foglio { min-height: 520px; }
  .nuvola { display: none; }
  .spillo-pd { position: absolute; left: -44px; top: 10px; z-index: 1; display: inline-flex; width: 28px; height: 28px; font-size: 12px; }
  .spillo-pd-ferr { left: -203px; }
  .spiegazioni { display: flex; flex-direction: column; flex: 1 1 0; gap: 22px; min-width: 0; padding-top: 52px; }
  .spiegazioni li { display: flex; gap: 14px; }
  .spiegazioni .num { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 13px var(--mono); }
  .spiegazioni li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
  .spiegazioni b { font: 600 17px/24px var(--sans); }
  .spiegazioni li > span:last-child > span { font: 400 15px/22px var(--sans); color: var(--muted); }
}

/* ---------- 4. come funziona / il video ---------- */

[data-video="no"] [data-solo-con-video], [data-video="si"] [data-solo-senza-video] { display: none; }
.video-riga { display: flex; flex-direction: column; gap: 24px; }
.video-sinistra { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video-box { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--notte-riga); border-radius: 10px; background: var(--telefono); overflow: hidden; }
.video-box picture, .video-immagine, .video-lettore { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-lettore { background: var(--telefono); }
.video-avvio { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: rgba(14, 17, 19, 0.3); }
.video-play { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--notte-verde); color: var(--notte-sul-verde); }
.video-play svg { width: 26px; height: 26px; }
.video-etichetta { max-width: 86%; padding: 6px 12px; border-radius: 4px; background: rgba(14, 17, 19, 0.82); font: 500 13px/20px var(--sans); color: var(--notte-testo); text-align: center; }
.video-nota { font: 400 14px/20px var(--sans); color: var(--notte-muted); }
.passi { display: flex; flex-direction: column; gap: 8px; }
.passo-corpo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--notte-riga); border-radius: 6px; background: transparent; }
.passo-n { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--notte-chip); color: var(--notte-testo); font: 600 12px var(--mono); }
.passo-testo { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.passo-titolo { display: flex; justify-content: space-between; gap: 8px; }
.passo-titolo b { font: 600 15px/21px var(--sans); color: var(--notte-testo); }
.passo-desc { font: 400 13px/19px var(--sans); color: var(--notte-muted); }
.passo-ora { display: none; align-items: center; gap: 4px; font: 500 12px var(--sans); color: var(--notte-verde); }
[data-video="si"] .passo-corpo { cursor: pointer; }
[data-video="si"] .passo-corpo:hover { background: rgba(255, 255, 255, 0.04); }
[data-video="si"] .passo.is-attivo .passo-corpo { border-color: var(--notte-verde); background: rgba(95, 207, 174, 0.1); }
[data-video="si"] .passo.is-attivo .passo-n { background: var(--notte-verde); color: var(--notte-sul-verde); }
[data-video="si"] .passo.is-attivo .passo-ora { display: inline-flex; }
@media (min-width: 640px) { .video-play { width: 88px; height: 88px; } .video-play svg { width: 34px; height: 34px; } .video-etichetta { font-size: 15px; } }
@media (min-width: 960px) {
  .video-riga { flex-direction: row; align-items: flex-start; gap: 32px; }
  .video-sinistra { flex: 1 1 0; }
  .passi { flex: 0 0 340px; }
}

/* ---------- 5. i conti ---------- */

.conti-riga { display: flex; flex-direction: column; gap: 24px; }
.regole { display: flex; flex-direction: column; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.regole-titolo { font: 600 16px var(--sans); }
.gruppo { min-width: 0; margin: 0; padding: 0; border: 0; }
.gruppo legend { margin-bottom: 8px; padding: 0; font: 500 14px var(--sans); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--strong); border-radius: 20px; background: #fff; font: 500 14px var(--sans); cursor: pointer; }
.chip input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--tint); color: var(--brand); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.regole-nota { font: 400 13px/18px var(--sans); color: var(--muted); }
.risultato { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.risultato-testa { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.risultato-testa b { font: 600 16px var(--sans); }
.risultato-testa span { font: 500 14px var(--mono); color: var(--muted); }
.risultato-come { font: 500 13px var(--sans); color: var(--muted); }
.conto { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.conto-riga { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 400 14px/20px var(--sans); }
.conto-riga:last-child { border-bottom: 0; }
.conto-riga dt { color: var(--muted); }
.conto-riga dd { font: 500 14px var(--mono); white-space: nowrap; }
.conto-forte { font-weight: 600; }
.conto-forte dt { color: var(--ink); }
.conto-forte dd { font-weight: 600; }
.conto-totale { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 14px; border-radius: 6px; background: var(--tint); }
.conto-totale span { font: 600 16px var(--sans); }
.conto-totale b { font: 600 22px var(--mono); color: var(--brand); }
@media (min-width: 960px) {
  .conti-riga { flex-direction: row; align-items: flex-start; gap: 32px; }
  .regole { flex: 0 0 460px; }
  .risultato { flex: 1 1 0; }
}

/* ---------- 6. partire è facile ---------- */

.partire-riga { display: flex; flex-direction: column; gap: 24px; }
.partire-sinistra { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dubbi { display: flex; flex-direction: column; }
.dubbio { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.dubbio-q { font: 600 19px/26px var(--sans); }
.dubbio-r { font: 400 16px/24px var(--sans); color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #efeae2; }
.chat-testata { align-self: center; padding: 2px 10px; border-radius: 4px; background: #fff; font: 500 12px var(--sans); color: var(--muted); }
.chat-mio { display: flex; flex-direction: column; align-self: flex-end; gap: 6px; width: 78%; padding: 8px; border-radius: 8px; background: #dcf2e4; }
.chat-mio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.chat-mio > span:not(.chat-ora), .chat-loro > span:first-child { font: 400 14px/20px var(--sans); }
.chat-loro { display: flex; flex-direction: column; align-self: flex-start; gap: 4px; max-width: 85%; padding: 10px 12px; border-radius: 8px; background: #fff; }
.chat-ora { align-self: flex-end; font: 400 11px var(--sans); color: var(--muted); }
.chat-ora-ambra { color: var(--amber); }
@media (min-width: 960px) {
  .partire-riga { flex-direction: row; align-items: center; gap: 72px; }
  .partire-sinistra { flex: 1 1 0; }
  .partire-destra { flex: 0 0 400px; }
}

/* ---------- 7. chi c'è dietro ---------- */

.chi-riga { display: flex; flex-direction: column; gap: 24px; }
.chi-quadro { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--sunken); overflow: hidden; }
.chi-quadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chi-testo { display: flex; flex-direction: column; flex: 1 1 0; gap: 18px; min-width: 0; }
.chi-p { font: 400 18px/30px var(--sans); }
.chi-firma { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.chi-firma-nome { display: flex; flex: 1 1 200px; flex-direction: column; gap: 2px; }
.chi-mano { font: 600 26px "Caveat", cursive; }
.chi-firma-nome b { font: 600 15px var(--sans); }
.chi-ruolo { font: 400 14px var(--sans); color: var(--muted); }
[data-foto="no"] .chi-foto { display: none; }
[data-foto="no"] .chi-riga { max-width: 1120px; }
@media (min-width: 900px) {
  .chi-riga { flex-direction: row; align-items: center; gap: 64px; }
  .chi-foto { flex: 0 0 440px; }
  [data-foto="no"] .chi-testo { max-width: 760px; }
}

/* ---------- 8. prezzi ---------- */

.prezzi-riga { display: flex; flex-direction: column; gap: 24px; }
.prezzi-sinistra { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.interruttore { align-self: flex-start; display: inline-flex; padding: 4px; border: 1px solid var(--strong); border-radius: 24px; background: #fff; }
.interruttore-tasto { height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: transparent; color: var(--ink); font: 500 14px var(--sans); }
.interruttore-tasto[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.interruttore-nota { margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--tint); color: var(--brand); font: 600 12px var(--sans); }
.piani { display: flex; flex-direction: column; gap: 14px; }
.piano { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; font-family: var(--sans); }
.piano[aria-pressed="true"] { padding: 17px 19px; border: 2px solid var(--brand); background: var(--tint); }
.piano-riga { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.piano-nome { font: 600 20px var(--sans); }
.piano-prezzo { font: 600 22px var(--mono); }
.piano-prezzo small { font: 400 13px var(--sans); color: var(--muted); }
.piano-desc { font: 400 14px/20px var(--sans); color: var(--muted); }
.piano-risparmio { font: 600 13px var(--sans); color: var(--brand); }
.voci-blocco { padding: 4px 4px 0; }
.voci { display: flex; flex-direction: column; gap: 10px; }
.voci li { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/22px var(--sans); }
.voci li > span { display: flex; flex-direction: column; }
.voci b { font-weight: 500; }
.voci small { display: block; margin-top: 2px; font: 400 13px/19px var(--sans); color: var(--muted); }
.voci li.voci-capo { font: 600 13px var(--sans); color: var(--muted); }
.prezzi-destra { display: flex; justify-content: center; }
.telefono { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.telefono figcaption { max-width: 320px; text-align: center; font: 400 14px/20px var(--sans); color: var(--muted); }
.tel-cornice { width: 300px; height: 600px; padding: 10px; border: 1px solid var(--notte-riga); border-radius: 34px; background: var(--telefono); }
.tel-schermo { display: flex; flex-direction: column; height: 100%; border-radius: 26px; background: #fff; overflow: hidden; }
.tel-wa { background: #fff; }
.wa-testata { padding: 12px 14px; background: #075e54; color: #fff; font: 600 14px var(--sans); }
.wa-corpo { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 12px; background: #efeae2; }
.wa-msg { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 8px; font: 400 12px/17px var(--sans); }
.wa-ricevuto { align-self: flex-start; width: 90%; background: #fff; }
.wa-inviato { align-self: flex-end; max-width: 82%; padding: 8px 10px; background: #dcf2e4; }
.wa-ora { align-self: flex-end; font: 400 10px var(--sans); color: var(--muted); }
.wa-anteprima { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.wa-doc { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 8px; }
.wa-doc-testa { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 2px solid var(--brand); }
.wa-doc-chi { display: flex; gap: 6px; align-items: center; }
.wa-doc-chi b { font: 600 10px var(--sans); }
.wa-doc-logo { width: 18px; height: 18px; border: 1px dashed var(--strong); border-radius: 2px; }
.wa-doc-testa small { font: 400 8px var(--sans); color: var(--muted); }
.wa-doc-titolo { font: 600 10px var(--sans); }
.wa-doc-desc { font: 400 8px/11px var(--sans); color: var(--muted); }
.wa-doc-opz { display: flex; justify-content: space-between; gap: 6px; padding: 5px 0; border-bottom: 1px solid var(--line); font: 400 9px/12px var(--sans); }
.wa-doc-opz b { font: 600 9px var(--mono); }
.wa-doc-nota { font: 400 8px var(--sans); color: var(--muted); }
.wa-pdf { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: var(--sunken); }
.wa-pdf-icona { display: flex; flex: none; align-items: center; justify-content: center; width: 26px; height: 30px; border-radius: 3px; background: #d93a2b; color: #fff; font: 700 8px var(--sans); }
.wa-pdf-testo { display: flex; flex-direction: column; }
.wa-pdf-testo b { font: 600 11px var(--sans); }
.wa-pdf-testo small { font: 400 10px var(--sans); color: var(--muted); }
.wa-testo { padding: 0 4px; }
.pro-testata, .pre-testata { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pre-testata { gap: 10px; padding: 12px 14px; }
.pro-logo { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px dashed var(--strong); border-radius: 4px; font: 500 10px var(--mono); color: var(--muted); }
.pre-testata .pro-logo { width: 34px; height: 34px; font-size: 9px; }
.pro-chi { display: flex; flex-direction: column; gap: 2px; }
.pro-chi b { font: 600 15px var(--sans); }
.pro-chi small { font: 400 12px var(--sans); color: var(--muted); }
.pre-testata .pro-chi { gap: 0; }
.pre-testata .pro-chi b { font-size: 14px; }
.pre-testata .pro-chi small { font-size: 11px; }
.pro-corpo { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 16px; overflow: hidden; }
.pro-titolo { font: 600 17px var(--sans); }
.pro-opzione { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }
.pro-opzione-attiva { padding: 11px; border: 2px solid var(--brand); background: var(--tint); }
.pro-opzione input { margin: 3px 0 0; accent-color: var(--brand); }
.pro-opz-testo { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; }
.pro-opz-testo b { font: 600 14px var(--sans); }
.pro-opz-testo small { font: 400 12px/16px var(--sans); color: var(--muted); }
.pro-prezzo { font: 600 14px var(--mono); white-space: nowrap; }
.pro-firma-titolo { margin-top: 4px; font: 500 13px var(--sans); color: var(--muted); }
.pro-firma { display: flex; align-items: center; justify-content: center; height: 80px; border: 1px dashed var(--strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.pro-accetto { height: 44px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font: 600 15px var(--sans); cursor: default; }
.pro-nota { font: 400 12px var(--sans); color: var(--muted); text-align: center; }
.pre-corpo { display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 12px 14px; overflow: hidden; }
.pre-chi { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 6px; background: var(--surface); }
.pre-chi img { width: 54px; height: 54px; object-fit: cover; border-radius: 4px; }
.pre-chi > span { display: flex; flex-direction: column; gap: 2px; }
.pre-chi b { font: 600 12px var(--sans); }
.pre-chi small { font: 400 11px/15px var(--sans); color: var(--muted); }
.pre-foto { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; }
.pre-opz { display: flex; justify-content: space-between; align-items: baseline; }
.pre-opz b { font: 600 14px var(--sans); }
.pre-opz span { font: 600 13px var(--mono); color: var(--brand); }
.pre-desc { font: 400 12px/17px var(--sans); color: var(--muted); }
.pre-ferr { display: flex; gap: 10px; }
.pre-ferr > span { display: flex; gap: 6px; align-items: center; }
.pre-ferr img { width: 34px; height: 34px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.pre-ferr span span { font: 400 11px var(--sans); color: var(--muted); }
.pre-scheda { padding: 8px 10px; border-radius: 6px; background: var(--surface); font: 500 12px var(--sans); }
.pre-firma { display: flex; align-items: center; justify-content: center; height: 40px; margin-top: auto; border-radius: 6px; background: var(--brand); color: #fff; font: 600 14px var(--sans); }

.differenze { display: flex; flex-direction: column; }
.differenze-apri, .differenze-chiudi { align-self: center; height: 44px; padding: 0 18px; border: 1px solid var(--strong); border-radius: 6px; background: #fff; font: 600 15px var(--sans); }
.differenze-apri:hover, .differenze-chiudi:hover { background: var(--sunken); }
.freccia { display: inline-block; width: 6px; height: 6px; margin: -3px 0 0 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: middle; }
.freccia-su { margin-top: 3px; transform: rotate(-135deg); }
.differenze-apri[aria-expanded="true"] { display: none; }
.differenze-corpo { display: flex; flex-direction: column; gap: 12px; }
.tabella { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.tabella th, .tabella td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.tabella thead th { padding: 14px; border-bottom: 1px solid var(--line); font: 600 16px var(--sans); text-align: center; }
.tabella thead th:first-child { font-size: 14px; color: var(--muted); text-align: left; }
.tabella tbody th { font: 400 14px var(--sans); text-align: left; }
.tabella td { text-align: center; font: 500 14px var(--sans); }
.tabella tbody tr:last-child th, .tabella tbody tr:last-child td { border-bottom: 0; }
.tabella .col-pro { background: var(--tint); }
.tabella .si { margin-inline: auto; color: var(--brand); stroke-width: 2.4; }
.tabella .no { color: var(--muted); }
.prezzi-nota { font: 400 13px/19px var(--sans); color: var(--muted); }
@media (min-width: 960px) {
  .prezzi-riga { flex-direction: row; align-items: flex-start; gap: 56px; }
  .prezzi-sinistra { flex: 1 1 0; }
  .prezzi-destra { flex: 0 0 380px; }
}
@media (max-width: 639px) { .tabella th, .tabella td { padding: 11px 8px; } .tabella thead th { padding: 14px 8px; font-size: 15px; } }

/* ---------- 9. domande ---------- */

/* Sul telefono l'invito a scrivere su WhatsApp sta dopo le domande; dal computer a sinistra, sotto il titolo. */
.domande-riga { display: flex; flex-direction: column; gap: 24px; }
.domande-sinistra { display: contents; }
.altra-domanda { order: 3; }
.domande-destra { order: 2; }
.altra-domanda { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 10px; background: var(--sunken); }
.altra-q { font: 600 19px/26px var(--sans); }
.altra-r { font: 400 15px/22px var(--sans); color: var(--muted); }
.domande-destra { border-top: 1px solid var(--line); }
.domanda { border-bottom: 1px solid var(--line); }
.domanda summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/24px var(--sans); cursor: pointer; list-style: none; }
.domanda summary::-webkit-details-marker { display: none; }
.domanda summary::after { content: "+"; flex: none; font: 400 24px var(--sans); color: var(--brand); }
.domanda[open] summary::after { content: "−"; }
.risposta { max-width: 760px; padding: 0 0 22px; font: 400 16px/26px var(--sans); color: var(--muted); }
.caro-riga { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.caro-etichetta { font: 500 15px var(--sans); color: var(--ink); }
.caro-passi { display: flex; align-items: center; gap: 10px; }
.caro-tasto { width: 36px; height: 36px; border: 1px solid var(--strong); border-radius: 6px; background: #fff; font: 600 18px var(--sans); color: var(--ink); }
.caro-tasto:hover { background: var(--sunken); }
.caro-n { min-width: 44px; text-align: center; font: 600 22px var(--mono); color: var(--ink); }
.caro-costi { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.caro-costo { padding: 6px 10px; border-radius: 6px; background: var(--surface); font: 400 14px var(--sans); color: var(--ink); }
.caro-costo-pro { background: var(--tint); }
.caro-costo b { font: 600 14px var(--mono); color: var(--brand); }
@media (min-width: 640px) { .domanda summary { font-size: 19px; line-height: 26px; } }
@media (min-width: 900px) {
  .domande-riga { flex-direction: row; align-items: flex-start; gap: 72px; }
  .domande-sinistra { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 40px; flex: 0 0 340px; }
  .altra-domanda, .domande-destra { order: 0; }
  .domande-destra { flex: 1 1 0; min-width: 0; }
}

/* ---------- 10. chiusura e piè di pagina ---------- */

.sez-chiusura { padding-block: 56px; }
@media (min-width: 1024px) { .sez-chiusura { padding-block: 112px; } }
.chiusura-riga { display: flex; flex-direction: column-reverse; gap: 28px; }
.chiusura-testo { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.chiusura-foto { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.chiusura-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.chiusura-accettato { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.chiusura-spunta { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; }
.chiusura-accettato-testo { display: flex; flex-direction: column; }
.chiusura-accettato-testo b { font: 600 14px var(--sans); }
.chiusura-accettato-testo span { font: 400 13px var(--sans); color: var(--muted); }
@media (min-width: 960px) {
  .chiusura-riga { flex-direction: row; align-items: center; gap: 64px; }
  .chiusura-testo { flex: 1 1 0; }
  .chiusura-foto { flex: 0 0 520px; height: 440px; aspect-ratio: auto; }
}

.piede { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 16px; font: 400 14px/20px var(--sans); color: var(--muted); }
.piede-dentro { display: flex; flex-direction: column; align-items: flex-start; gap: 10px 28px; max-width: 1120px; margin-inline: auto; }
.piede-azienda { display: flex; flex-direction: column; gap: 2px; max-width: 560px; }
.piede-nome { font: 600 16px var(--sans); color: var(--ink); }
.piede-link { display: flex; flex-direction: column; gap: 10px; }
.piede-link a { padding: 6px 0; color: var(--muted); text-decoration: none; }
.piede-link a:hover { color: var(--ink); text-decoration: underline; }
/* Ogni dato dell'azienda (etichetta e numero) resta su una riga sola: "P.IVA" non va a capo da solo. */
.piede-dati .dato { white-space: nowrap; }
@media (min-width: 640px) { .piede { padding-inline: 32px; } .piede-dentro { flex-direction: row; flex-wrap: wrap; align-items: center; } .piede-link { flex-direction: row; flex-wrap: wrap; gap: 0 28px; } }
@media (min-width: 1024px) { .piede { padding: 32px 48px; } .piede-link { margin-left: auto; } }
