/* ═══════════════════════════════════════════════════════════════════
   CANTIERE SOCIAL — landing per le inserzioni (/offerta)
   Un solo obiettivo: nome e numero. Nessun menu, nessun link che porti
   fuori dalla pagina se non privacy e cookie.
   Si appoggia ai token di styles.css.
   ═══════════════════════════════════════════════════════════════════ */

.of { --stretto: 72%; }
.of body { background: var(--bg); }

.of-wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.of-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: var(--sp-6);
}

.of-sezione { padding-block: clamp(48px, 7vw, 88px); }

/* ── testata ──────────────────────────────────────────────────────── */
.of-testa {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  max-width: 1120px;
  margin-inline: auto;
  padding: var(--sp-4) var(--sp-5);
}
.of-marchio {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; letter-spacing: -.025em;
}
.of-marchio svg { color: var(--orange); }
.of-luogo {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── apertura ─────────────────────────────────────────────────────── */
.of-hero { position: relative; overflow: hidden; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 80px); }
/* Desktop: testo a sinistra, cartello a destra.
   Telefono: l'ordine dell'HTML (titolo, cartello col modulo, video, punti).
   Il traffico dalle inserzioni è quasi tutto da telefono: il pulsante del
   modulo deve vedersi senza scorrere. */
.of-hero__inner {
  position: relative;
  display: grid;
  /* video | punti | cartello: il titolo copre le prime due colonne */
  grid-template-columns: clamp(250px, 25vw, 330px) minmax(0, 1fr) minmax(0, 460px);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 3.4vw, 56px);
  row-gap: var(--sp-6);
  align-items: start;
}
.of-hero__testa { grid-column: 1 / span 2; grid-row: 1; }
.of-vsl         { grid-column: 1; grid-row: 2; }
.of-hero__resto { grid-column: 2; grid-row: 2; align-self: center; }
.of-cartello { grid-column: 3; grid-row: 1 / span 2; align-self: center; }

/* ── il video (VSL) ───────────────────────────────────────────────── */
.of-vsl { margin: 0; }
.of-vsl__schermo {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(23, 18, 14, .45);
}
/* nastro di cantiere sopra, come il cartello */
.of-vsl__schermo::before {
  content: "";
  position: absolute; inset: 0 0 auto; z-index: 2;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--ink) 10px 20px);
  border-bottom: 2px solid var(--ink);
  pointer-events: none;
}
/* contain, non cover: il riquadro è 9:16 come il video, quindi in pagina
   non cambia niente — ma a tutto schermo «cover» ingrandirebbe il video per
   riempire uno schermo 16:9, tagliando via mezza inquadratura. */
.of-vsl__video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.of-vsl__play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  border: 0; cursor: pointer;
  background: linear-gradient(to top, rgba(23, 18, 14, .78), rgba(23, 18, 14, 0) 55%);
  color: #fff; font: inherit; text-align: center;
}
.of-vsl__icona {
  position: absolute; left: 50%; top: 62%; /* sotto il viso, sopra i sottotitoli */
  translate: -50% -50%;
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 8px rgba(234, 118, 33, .28);
  transition: scale .2s ease, box-shadow .2s ease;
}
.of-vsl__icona svg { margin-left: 4px; }
.of-vsl__play:hover .of-vsl__icona,
.of-vsl__play:focus-visible .of-vsl__icona { scale: 1.08; box-shadow: 0 0 0 12px rgba(234, 118, 33, .32); }
.of-vsl__play:focus-visible { outline: 3px solid var(--orange); outline-offset: -5px; }
.of-vsl__etichetta { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.of-vsl__etichetta small {
  display: block; margin-top: 4px;
  font-family: var(--font-mono); font-weight: 500; font-size: .7rem;
  letter-spacing: .06em; text-transform: uppercase; opacity: .85;
}
.of-vsl.is-avviato .of-vsl__play { display: none; }
.of-vsl__dida {
  margin-top: var(--sp-3);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em;
  color: var(--fg-muted); text-align: center;
}
@media (prefers-reduced-motion: reduce) { .of-vsl__icona { transition: none; } }


.of-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  padding: 7px var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .04em;
  color: var(--orange-ink);
}
/* "primi 10 clienti" non si spezza: se manca spazio va a capo tutto intero */
.of-eyebrow strong { white-space: nowrap; }
.of-punto {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 118, 33, .22);
}

.of-titolo {
  font-family: var(--font-display);
  font-weight: 800;
  /* tarato sul titolo per settore («Il sito della vostra impresa edile.»):
     sul computer sta in tre righe accanto al cartello */
  font-size: clamp(2.8rem, 4.2vw, 3.6rem);
  line-height: .93;
  letter-spacing: -.05em;
  margin-bottom: var(--sp-5);
}
.of-titolo span { color: var(--fg-faint); }

.of-lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--fg-muted); max-width: 48ch; margin-bottom: var(--sp-5); }
.of-lead strong { color: var(--ink); font-weight: 700; }

.of-punti { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.of-punti li {
  position: relative;
  padding-left: 30px;
  font-weight: 600; font-size: 1rem;
}
.of-punti li::before {
  content: "";
  position: absolute; left: 2px; top: .3em;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg);
}
.of-chi { font-size: .96rem; color: var(--fg-muted); }

/* ── testimonianza del cliente ────────────────────────────────────────
   Una sola foto (il ritratto intero dal sito del cliente), ritagliata sul
   viso dal CSS: il riquadro tondo mostra l'immagine al 200%, spostata in
   percentuale, così lo stesso ritaglio vale a qualsiasi misura. */
.of-ritratto {
  position: relative; display: block; flex: none;
  aspect-ratio: 1; overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #0B1B2E;
}
.of-ritratto img {
  position: absolute; left: var(--rx, -45%); top: var(--ry, -10%);
  width: var(--rw, 200%); max-width: none; height: auto;
}
/* foto di gruppo: meno ingrandita, così nel tondo entrano due visi */
.of-ritratto--squadra { --rx: -38%; --ry: -28%; --rw: 185%; }

/* versioni complete, sotto il video: riquadri compatti uno sotto l'altro */
.of-voci { grid-column: 1 / span 2; grid-row: 3; display: grid; gap: var(--sp-3); }
.of-voce {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
}
.of-voce__foto { width: 56px; }
.of-voce__etichetta {
  margin-bottom: 4px;
  font-family: var(--font-mono); font-size: .64rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink);
}
.of-voce__testo p { font-size: .92rem; line-height: 1.5; color: var(--ink); }
.of-voce__chi { margin-top: var(--sp-2); font-size: .8rem; line-height: 1.35; }
.of-voce__chi strong { display: block; font-weight: 700; }
.of-voce__chi span { color: var(--fg-muted); }

/* versione breve, nel cartello sotto il modulo */
.of-voce-breve {
  display: grid; grid-template-columns: 40px minmax(0, 1fr);
  column-gap: var(--sp-3); align-items: start;
  margin: 0 var(--sp-5) var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.of-voce-breve .of-ritratto { width: 40px; grid-row: 1 / span 2; }
.of-voce-breve blockquote, .of-voce-breve figcaption { grid-column: 2; }
.of-voce-breve blockquote p { font-size: .84rem; line-height: 1.45; color: var(--ink); }
.of-voce-breve figcaption { margin-top: 4px; font-size: .72rem; color: var(--fg-muted); }
.of-voce-breve figcaption strong { color: var(--ink); font-weight: 700; }

/* ── il cartello con prezzo e modulo ──────────────────────────────── */
.of-cartello {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 30px 60px -28px rgba(23, 18, 14, .45);
  overflow: hidden;
  scroll-margin-top: var(--sp-5);
}
.of-cartello__nastro { height: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--ink) 14px 28px); border-bottom: 2px solid var(--ink); }
.of-bullone {
  position: absolute; top: 26px;
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, #B7A89C 30%, #6B5B4E 100%);
  box-shadow: 0 0 0 1px rgba(23, 18, 14, .35);
}
.of-bullone--sx { left: 12px; }
.of-bullone--dx { right: 12px; }

.of-cartello__testa { padding: var(--sp-5) var(--sp-6) var(--sp-4); text-align: center; }
.of-cartello__ente {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 4px;
}
.of-prezzo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.of-prezzo b {
  font-family: var(--font-display);
  font-stretch: var(--stretto);
  font-weight: 800; font-size: clamp(3.4rem, 9vw, 4.6rem); line-height: .9;
  color: var(--orange-deep);
}
.of-prezzo small { font-family: var(--font-mono); font-size: .74rem; color: var(--fg-muted); }
.of-scadenza {
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .04em;
  color: var(--orange-ink);
}
.of-scadenza strong { font-weight: 500; color: var(--ink); }

/* ── posti disponibili: il contatore e i dieci mattoncini ─────────── */
.of-posti {
  margin-top: var(--sp-4);
  font-size: .92rem;
  color: var(--fg-muted);
}
.of-posti b { color: var(--ink); font-weight: 700; }
.of-posti strong {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--ink);
  font-weight: 800; font-size: .88rem;
}
/* un mattoncino per posto: pieni quelli già andati */
.of-lotti {
  display: flex; gap: 5px; justify-content: center;
  margin-top: var(--sp-3);
}
.of-lotto {
  width: 18px; height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
}
.of-lotto.is-preso { background: var(--ink); }

.of-cartello__sub {
  padding: 7px var(--sp-5);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  text-align: center;
}

.of-form { padding: var(--sp-5) var(--sp-5) var(--sp-4); }
.of-campo { margin-bottom: var(--sp-3); }
.of-campo label { display: block; margin-bottom: 5px; font-size: .84rem; font-weight: 600; }
.of-campo input {
  width: 100%;
  min-height: 48px;
  padding: 11px var(--sp-4);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-size: 16px;   /* evita lo zoom automatico su iOS */
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.of-campo input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(234, 118, 33, .3); }
.of-campo input[aria-invalid="true"] { border-color: #C0281E; }
.of-err { margin-top: 5px; font-size: .8rem; line-height: 1.35; color: #C0281E; }
.of-err[hidden] { display: none; }
.of-stato:not(:empty) { margin-top: var(--sp-3); font-size: .86rem; line-height: 1.4; color: #C0281E; text-align: center; }
.of-nota { margin-top: var(--sp-3); font-size: .8rem; line-height: 1.45; text-align: center; color: var(--fg-muted); }
.of-nota strong { color: var(--ink); font-weight: 700; }
.of-informativa { margin-top: var(--sp-2); font-size: .72rem; line-height: 1.4; text-align: center; color: var(--fg-muted); }
.of-informativa a { color: var(--fg-muted); text-underline-offset: 2px; }

.of-oppure {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: .9rem; text-align: center; color: var(--fg-muted);
}
.of-wa { color: var(--orange-ink); font-weight: 700; text-underline-offset: 3px; }
.of-wa:hover { color: var(--ink); }

/* conferma dopo l'invio */
.of-fatto { padding: var(--sp-6) var(--sp-5); text-align: center; }
.of-fatto-t {
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-stretch: var(--stretto);
  font-weight: 800; font-size: 2.2rem; line-height: .95;
  text-transform: uppercase;
}
.of-fatto p { color: var(--fg-muted); }
.of-fatto .of-wa { display: inline-block; margin-top: var(--sp-4); }

/* ── cosa comprende ───────────────────────────────────────────────── */
.of-include { background: transparent; }
.of-perche { background: var(--cream-2); }   /* alternanza: lavori, comprende, perché */
.of-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-5);
}
.of-lista--corta { grid-template-columns: 1fr; margin-top: var(--sp-5); }
.of-lista li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem; line-height: 1.45;
}
.of-lista li::before {
  content: "";
  position: absolute; left: 2px; top: .3em;
  width: 14px; height: 7px;
  border-left: 2.2px solid var(--orange);
  border-bottom: 2.2px solid var(--orange);
  transform: rotate(-45deg);
}
.of-aggiunte { margin-top: var(--sp-6); font-size: .92rem; color: var(--fg-muted); }

/* ── "Vi suona familiare?": l'elenco dei dolori, su fondo scuro ───── */
.of-dolore { background: var(--ink); color: var(--cream); }
.of-dolore .of-h2 { color: var(--cream); }
.of-dolore .of-lista li { color: #E9DFD6; }
.of-dolore .of-lista li::before { border-color: var(--orange); }
.of-dolore .of-aggiunte { color: #C4B5A8; }
.of-dolore .of-aggiunte strong { color: var(--orange); }

/* ── i siti già fatti ─────────────────────────────────────────────── */
.of-lavori { background: var(--cream-2); }
.of-lavori__intro {
  max-width: 54ch;
  margin-top: calc(var(--sp-4) * -1);
  margin-bottom: var(--sp-6);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  color: var(--fg-muted);
}
.of-lavori__griglia {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.of-lavoro {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 44px -26px rgba(23, 18, 14, .45);
}

/* la finestra del browser attorno alla schermata */
.of-lavoro__barra {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--ink);
}
.of-lavoro__barra i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 248, 243, .32); }
.of-lavoro__barra i:first-child { background: var(--orange); }
.of-lavoro__barra span {
  flex: 1 1 auto;
  margin-left: 6px;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .04em; color: #C4B5A8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.of-lavoro__schermo img { display: block; width: 100%; height: auto; border-bottom: 2px solid var(--ink); }

/* la barra con il logo esteso del cliente, sul suo stesso colore */
.of-lavoro__marchio {
  display: flex; align-items: center;
  padding: 14px var(--sp-5);
  background: var(--marchio, var(--ink));
}
.of-lavoro__marchio img { display: block; width: auto; height: 30px; }
/* marchi con il simbolo tondo: a parità di altezza la scritta verrebbe minuscola */
.of-lavoro__marchio--tondo { padding-block: 8px; }
.of-lavoro__marchio--tondo img { height: 44px; }

.of-lavoro__corpo { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); }
.of-lavoro__chi {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink);
}
.of-lavoro__testo { font-size: .95rem; line-height: 1.55; color: var(--fg-muted); }
.of-lavoro__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  font-weight: 700; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--orange);
}
.of-lavoro__link:hover { color: var(--orange-ink); }

.of-lavori__nota {
  margin-top: var(--sp-6);
  font-size: .92rem; color: var(--fg-muted);
}

/* ── pagina /grazie (ritorno dal pagamento) ───────────────────────── */
.of-grazie { max-width: 760px; }
.of-grazie .of-titolo { margin-bottom: var(--sp-4); }
.of-cartello--grazie { margin-top: var(--sp-6); }
/* qui dentro non c'è la testa con il prezzo: l'etichetta ha bisogno
   del suo spazio sotto il nastro di cantiere */
.of-cartello--grazie .of-cartello__corpo { padding-top: var(--sp-5); }
.of-cartello--grazie .of-cartello__ente { margin-bottom: var(--sp-4); text-align: center; }
.of-passi__lista--grazie { grid-template-columns: 1fr; gap: var(--sp-4); }
.of-passi__lista--grazie h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.of-grazie__azioni { margin-top: var(--sp-6); color: var(--fg-muted); }
.of-grazie__torna { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: .72rem; }
.of-grazie__torna a { color: var(--fg-muted); text-underline-offset: 3px; }

/* ── prenotazione con Stripe ──────────────────────────────────────── */
.of-prenota { background: var(--cream-2); }
.of-prenota__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.of-prenota__testo {
  max-width: 54ch;
  margin-bottom: var(--sp-5);
  font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.6;
  color: var(--fg-muted);
}
.of-prenota__testo strong { color: var(--ink); font-weight: 700; }
.of-prenota__azione {
  padding: var(--sp-5);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 16px 36px -22px rgba(23, 18, 14, .45);
}
.of-prenota__nota {
  margin-top: var(--sp-3);
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .04em; text-align: center; color: var(--fg-muted);
}
/* ── "Perché €490": due paragrafi larghi, niente elenco ───────────── */
.of-perche__testo {
  max-width: 62ch;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
  color: var(--fg-muted);
}
.of-perche__testo + .of-perche__testo { margin-top: var(--sp-5); }
.of-perche__testo strong { color: var(--ink); font-weight: 700; }

/* ── come funziona ────────────────────────────────────────────────── */
.of-passi__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.of-passi__lista li {
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-lg);
}
.of-passo__n {
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-stretch: var(--stretto);
  font-weight: 800; font-size: 2rem; line-height: 1;
  color: var(--orange);
}
.of-passi__lista h3 {
  font-family: var(--font-display);
  font-size: 1.24rem; font-weight: 700; letter-spacing: -.025em;
  margin-bottom: var(--sp-2);
}
.of-passi__lista p { font-size: .95rem; color: var(--fg-muted); }

/* ── chi siamo ────────────────────────────────────────────────────── */
.of-noi { background: var(--cream-2); }
.of-noi__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.of-noi__foto {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.of-noi__foto::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--ink) 12px 24px);
}
.of-noi__foto img { width: 100%; height: auto; }
.of-noi__testo { font-size: 1.05rem; color: var(--fg-muted); max-width: 52ch; }
.of-noi__testo strong { color: var(--ink); }

/* ── chiusura ─────────────────────────────────────────────────────── */
.of-finale {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--orange);
  color: var(--ink);
}
.of-finale__nastro {
  position: absolute; inset: 0 0 auto 0; height: 16px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--orange) 16px 32px);
}
.of-finale__t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: .96; letter-spacing: -.045em;
  margin-bottom: var(--sp-5);
}
.of-finale__lead { font-size: 1.1rem; max-width: 46ch; margin-bottom: var(--sp-6); }
.of-finale__azioni { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.of-finale .btn--ghost { --btn-bd: var(--ink); }
.of-finale .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }

/* ── piede ────────────────────────────────────────────────────────── */
.of-piede {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  max-width: 1120px;
  margin-inline: auto;
  padding: var(--sp-6) var(--sp-5) calc(max(var(--sp-6), env(safe-area-inset-bottom)) + 88px);
  font-size: .82rem;
  color: var(--fg-muted);
}
.of-piede a { color: var(--fg-muted); text-underline-offset: 3px; }
.of-piede a:hover { color: var(--ink); }

/* ── schermi stretti ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .of-hero__inner { grid-template-columns: 1fr; row-gap: var(--sp-5); }
  /* una colonna, nell'ordine dell'HTML: il modulo viene prima del video */
  .of-hero__testa, .of-hero__resto, .of-cartello, .of-vsl, .of-voci { grid-column: 1; grid-row: auto; }
  /* un 9:16 a tutta larghezza mangerebbe lo schermo: lo teniamo stretto */
  .of-vsl { width: min(100%, 320px, 40svh); justify-self: center; }
  .of-vsl__dida { display: none; }
  .of-vsl__icona { width: 66px; height: 66px; }
  .of-cartello { max-width: 460px; width: 100%; justify-self: stretch; }
  /* cartello compatto: il prezzo è già nel titolo, qui conta arrivare ai campi */
  .of-cartello__testa { padding: var(--sp-4) var(--sp-5) var(--sp-3); }
  .of-prezzo { flex-direction: row; align-items: baseline; justify-content: center; gap: var(--sp-3); }
  .of-prezzo b { font-size: 2.8rem; }
  .of-prezzo small { max-width: 21ch; text-align: left; line-height: 1.35; }
  .of-posti { margin-top: var(--sp-2); }
  .of-lotti, .of-scadenza { display: none; }
  /* «Offerta di lancio» c'è già sopra il titolo; la striscia sta su una riga */
  .of-cartello__ente { display: none; }
  .of-cartello__sub { padding-inline: var(--sp-3); letter-spacing: .05em; }
  .of-form { padding: var(--sp-4) var(--sp-5) var(--sp-3); }
  .of-hero__testa .of-eyebrow { margin-bottom: var(--sp-4); }
  .of-titolo { margin-bottom: var(--sp-3); }
  .of-titolo { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .of-lead { font-size: 1rem; margin-bottom: 0; }
  .of-passi__lista { grid-template-columns: 1fr; }
  .of-noi__inner { grid-template-columns: 1fr; }
  .of-prenota__inner { grid-template-columns: 1fr; }
  .of-noi__foto { max-width: 340px; }
}

@media (max-width: 620px) {
  .of-lista { grid-template-columns: 1fr; }
  .of-finale__azioni .btn { flex: 1 1 auto; }
  .of-luogo { display: none; }
}

/* ── inviti all'azione lungo la pagina ────────────────────────────── */
.of-cta-riga {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-6);
}
.of-cta-riga span { font-size: .9rem; color: var(--fg-muted); }

/* ── barra fissa in basso (solo telefono e tablet) ────────────────── */
.of-barra { display: none; }
@media (max-width: 900px) {
  .of-barra:not([hidden]) {
    position: fixed; left: var(--sp-2); right: var(--sp-2);
    bottom: max(var(--sp-2), env(safe-area-inset-bottom));
    z-index: 90;
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
    padding: 8px 8px 8px var(--sp-4);
    background: var(--ink); color: var(--cream);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(23, 18, 14, .3);
    animation: of-barra-su .25s var(--ease) both;
  }
  .of-barra__prezzo { display: flex; flex-direction: column; line-height: 1.1; }
  .of-barra__prezzo b { font-family: var(--font-display); font-size: 1.25rem; color: var(--orange); }
  .of-barra__prezzo span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: #C4B5A8; }
  .of-barra .btn { min-height: 46px; padding: 0 var(--sp-4); white-space: nowrap; }
  /* il pulsante WhatsApp fisso non copre il modulo (classe messa da offerta.js) */
  body.modulo-in-vista .wa:not(.is-aperta) { display: none; }
  /* il pulsante WhatsApp sale sopra la barra */
  body.barra-su .wa { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body[data-offerta-landing].barra-su.consenso-aperto .wa { bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* spazio in fondo, così la barra non copre il footer */
  body.barra-su .of-piede { padding-bottom: 96px; }
}

/* Banner dei cookie IN ALTO, solo su questa pagina: chi arriva
   dall'annuncio è quasi sempre alla prima visita, e in basso il banner
   copriva il cellulare e il pulsante di invio. In alto copre solo la
   testata. Il banner è lo stesso (stessi pulsanti, stesso peso). */
body[data-offerta-landing] .consenso { top: max(var(--sp-2), env(safe-area-inset-top)); bottom: auto; }
body[data-offerta-landing].consenso-aperto { padding-bottom: 0; }
body[data-offerta-landing].consenso-aperto .wa:not(.is-aperta) { bottom: max(var(--sp-4), env(safe-area-inset-bottom)); }
body[data-offerta-landing] .consenso__box { animation-name: of-consenso-giu; }
@keyframes of-barra-su { from { opacity: 0; transform: translateY(12px); } }
@keyframes of-consenso-giu { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .of-barra:not([hidden]) { animation: none; } }

/* ── siti già fatti sul telefono: una fila da scorrere col dito ──────
   Quattro schede una sotto l'altra erano più di due schermate intere:
   qui stanno affiancate, si scorre di lato, la successiva si intravede
   (così si capisce che ce n'è un'altra) e i pallini dicono a che punto siete. */
.of-lavori__punti { display: none; }
@media (max-width: 900px) {
  .of-lavori__griglia {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--sp-5);
    margin-inline: calc(var(--sp-5) * -1);
    padding: 6px var(--sp-5) 22px;
    scrollbar-width: none;
  }
  .of-lavori__griglia::-webkit-scrollbar { display: none; }
  .of-lavoro {
    flex: 0 0 min(84%, 380px);
    scroll-snap-align: start;
    box-shadow: 0 14px 30px -20px rgba(23, 18, 14, .5);
  }
  .of-lavoro__marchio { padding: 10px var(--sp-4); }
  .of-lavoro__marchio img { height: 24px; }
  .of-lavoro__marchio--tondo { padding-block: 6px; }
  .of-lavoro__marchio--tondo img { height: 36px; }
  .of-lavoro__corpo { gap: 8px; padding: var(--sp-4); }
  .of-lavoro__chi { font-size: .62rem; }
  .of-lavoro__testo { font-size: .88rem; line-height: 1.5; }
  .of-lavori__intro { margin-bottom: var(--sp-4); }

  .of-lavori__punti {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 2px;
  }
  .of-lavori__punti button {
    width: 8px; height: 8px; padding: 0;
    border: 0; border-radius: 99px;
    background: rgba(23, 18, 14, .22);
    cursor: pointer;
    transition: width .2s var(--ease), background-color .2s var(--ease);
  }
  /* area di tocco più grande del pallino */
  .of-lavori__punti button { position: relative; }
  .of-lavori__punti button::after { content: ""; position: absolute; inset: -12px -6px; }
  .of-lavori__punti button[aria-current="true"] { width: 22px; background: var(--orange); }
  .of-lavori__nota { margin-top: var(--sp-4); font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .of-lavori__punti button { transition: none; } }
