/* Ritocchi del 12/11 sulla bozza di Giuseppe (vedi docs/rebranding/handover-giuseppe.md) */

/* 11. Foto dei clienti: due box separati in vetro trasparente stile iPhone (Liquid Glass "clear" + velo scuro per la leggibilità) */
.cl-card .glass {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)), rgba(18,30,36,.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -12px rgba(0,0,0,.45);
}
.cl-sit.glass {
  top: 10px; left: 10px; right: auto; max-width: calc(100% - 20px);
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cl-sit.glass b { font-weight: 600; }
.cl-card figcaption.glass {
  left: 10px; right: 10px; bottom: 10px;
  padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.3;
}
.cl-card figcaption.glass b { font-weight: 600; }

/* 2. Tab WhatsApp: screenshot veri */
.wc-card.wc-shot { width: auto; background: #fff; display: flex; flex-direction: column; }
.wc-card.wc-shot img { height: 300px; width: auto; max-width: none; object-fit: contain; background: #efeae2; }

/* 13. Prezzi su desktop nello stesso ordine del sito attuale: Concierge, Premium, Expert */
@media (width>=1001px) {
  .plans { grid-template-columns: 1.08fr 1fr 1fr; }
  .plan-wrap:nth-child(3) { order: 0; }
}

/* 10. Domande: chi prova a scorrere vede un piccolo richiamo; dopo 2 tentativi passa comunque */
@keyframes dq-shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
.dq-lock.shake { animation: dq-shake .35s ease; }

/* ===== Giro 2 (12/11): più palette. Clienti su arancio pieno, metodo su cielo con accenti arancio ===== */

/* Clienti: tutta la sezione su arancio pieno #FF7A2F, da bordo a bordo (titolare 12/11) */
section.clienti.clienti {
  background: #FF7A2F;
}
section.clienti .blobs { display: none; }
section.clienti h2 { color: var(--ink); }
section.clienti h2 em { color: #fff; }
section.clienti .tabs { background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
section.clienti .tabs button { color: var(--ink); }
section.clienti .tabs button.on { background: var(--ink); color: #fff; }
section.clienti .counters b { color: var(--ink); }
section.clienti .counters > div > span { color: rgba(22,22,22,.78); }
section.clienti .counter-new b { background: none; -webkit-text-fill-color: #fff; color: #fff; }
section.clienti .cl-card { box-shadow: 0 18px 40px -22px rgba(120,40,0,.55); }

/* Metodo: fondo cielo, passo attivo in arancio */
section.metodo.metodo {
  background:
    linear-gradient(180deg, #DCEFF3 0%, #E6F3F5 55%, #EEF6F6 100%);
}
section.metodo .blobs { display: none; }
/* l'alone sta sul blocco fisso (sticky), così resta visibile per tutto lo scorrimento delle foto */
section.metodo .metodo-pin {
  /* pesca dal centro della pagina fino all'angolo in alto a destra, pieno nell'angolo */
  background:
    linear-gradient(225deg, #FFB98A 0%, rgba(255,185,138,.8) 22%, rgba(255,197,158,.45) 40%, rgba(255,197,158,.12) 52%, transparent 60%),
    radial-gradient(45% 55% at 70% 45%, rgba(255,185,138,.55) 0%, transparent 75%);
}
@media (width<=900px) {
  section.metodo .metodo-pin {
    background:
      linear-gradient(215deg, #FFB98A 0%, rgba(255,185,138,.8) 22%, rgba(255,197,158,.45) 42%, rgba(255,197,158,.12) 55%, transparent 64%),
      radial-gradient(80% 45% at 60% 50%, rgba(255,185,138,.45) 0%, transparent 75%);
  }
}
section.metodo h2 { color: var(--blu); }
section.metodo h2 em { color: var(--ink); }
section.metodo .eyebrow { color: var(--blu); }
section.metodo .metodo-list button { border-top-color: rgba(31,79,92,.14); color: rgba(22,22,22,.55); }
section.metodo .metodo-list small { color: rgba(22,22,22,.55); }
section.metodo .metodo-list li.on button,
section.metodo .metodo-list li.done button { color: var(--ink); }
section.metodo .metodo-list span {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.55); color: var(--blu); font-size: 13px;
  transition: background .3s, color .3s;
}
section.metodo .metodo-list li.on span { background: #FF7A2F; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(255,122,47,.8); }
section.metodo .metodo-list li.done span { background: var(--ink); color: #fff; }
section.metodo .metodo-list li.on:before { background: #FF7A2F; top: 20px; }
section.metodo .story { box-shadow: 0 30px 60px -30px rgba(18,53,64,.6), 0 0 0 6px rgba(255,255,255,.35); }
section.metodo .story-bars i { background: #FF7A2F; }
section.metodo .story-txt span { color: #FFC59E; opacity: 1; }

/* Titolo dei clienti più grande, con le parole che cadono dall'alto una dopo l'altra (titolare 12/11) */
section.clienti h2.fall {
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: .98;
  max-width: none;
}
section.clienti .sec-head.row { align-items: flex-end; }
h2.fall .fall-w {
  display: inline-block;
  margin-right: .24em;
  opacity: 0;
  transform: translateY(-1.4em) rotate(var(--rot, -6deg));
}
h2.fall .fall-w:nth-child(odd) { --rot: 7deg; }
h2.fall em .fall-w:nth-child(even) { --rot: -9deg; }
h2.fall.in .fall-w {
  animation: fall-w .9s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--i) * 110ms);
}
@keyframes fall-w {
  0% { opacity: 0; transform: translateY(-1.4em) rotate(var(--rot, -6deg)); }
  35% { opacity: 1; }
  70% { transform: translateY(.06em) rotate(calc(var(--rot, -6deg) * -.25)); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  h2.fall .fall-w { opacity: 1; transform: none; animation: none !important; }
}

/* ===== Hero: gradiente petrolio come quello di Giuseppe ma più chiaro, senza arancio (titolare 12/11) ===== */
.hero .hero-photo:after { background: rgba(31,79,92,.12); }
.hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(18,53,64,.62) 0%, rgba(31,79,92,.38) 42%, rgba(31,79,92,.06) 75%),
    linear-gradient(0deg, rgba(18,53,64,.7) 0%, rgba(18,53,64,0) 40%),
    linear-gradient(180deg, rgba(18,53,64,.32) 0%, rgba(18,53,64,0) 22%);
}
.hero .hero-overlay:after { display: none; }
@media (width<=640px) {
  .hero .hero-overlay {
    background: linear-gradient(180deg, rgba(18,53,64,.22) 0%, rgba(31,79,92,.42) 45%, rgba(18,53,64,.8) 100%);
  }
}

/* ===== Domande «Raccontaci la tua situazione»: il gradiente della card di Alba (titolare 12/11) =====
   grigio-crema in alto a sinistra, lingua pesca che sale a destra, arancio pieno in basso a destra;
   in fondo diventa arancio pieno per legarsi alla sezione dei clienti che segue */
section.domande.domande {
  background:
    linear-gradient(180deg, rgba(255,122,47,0) 78%, #FF7A2F 100%),
    radial-gradient(55% 50% at 88% 88%, #FF7A2F 0%, rgba(255,122,47,.85) 30%, rgba(255,122,47,0) 72%),
    radial-gradient(60% 65% at 78% 38%, rgba(255,170,115,.7) 0%, rgba(255,185,138,.35) 45%, rgba(255,185,138,0) 75%),
    radial-gradient(45% 85% at 8% 35%, rgba(205,196,189,.95) 0%, rgba(214,205,198,.55) 40%, rgba(214,205,198,0) 75%),
    linear-gradient(180deg, #ECE5DE 0%, #F2E6DA 55%, #F6CDAE 100%);
}
section.domande .blobs { display: none; }
section.domande .dq-lock { color: var(--ink); }

/* ===== Chi siamo: sfondo ispirato al riferimento «Tahoe» del titolare (12/11) =====
   cielo saturo come base, luce bianca in alto a destra, fascia petrolio in diagonale, arancio in basso a destra */
section.chisiamo.stack-over {
  background:
    radial-gradient(58% 42% at 100% 0%, #FFFFFF 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.5) 55%, rgba(255,255,255,0) 80%),
    radial-gradient(30% 26% at 92% 92%, #FF6A35 0%, rgba(255,122,47,.7) 40%, rgba(255,122,47,0) 75%),
    linear-gradient(58deg, rgba(255,106,53,0) 50%, rgba(255,106,53,.75) 60%, #FF6A35 65%, rgba(255,106,53,.75) 70%, rgba(255,106,53,0) 80%),
    radial-gradient(28% 22% at 50% 60%, rgba(196,140,150,.45) 0%, rgba(196,140,150,0) 75%),
    linear-gradient(196deg, rgba(23,128,160,0) 34%, rgba(23,128,160,.7) 44%, rgba(31,79,92,.35) 50%, rgba(31,79,92,0) 58%),
    linear-gradient(160deg, #6FC3DA 0%, #9FD3DE 45%, #7FC6DB 100%);
}
section.chisiamo .blobs { display: none; }
section.chisiamo .chi2-copy p { color: var(--ink); }
/* Chi siamo: foto lunga (5:7) con angoli vivi ed effetto polaroid, su desktop e su telefono (titolare 12/11).
   La cornice è un bordo: resta fuori dal ritaglio, così la parallasse della foto continua a funzionare */
section.chisiamo .chi2-photo {
  border-radius: 0;
  border: 18px solid #F8F6F2;
  border-bottom-width: 78px;
  background: #F8F6F2;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 22px 50px -24px rgba(18,53,64,.55);
}
section.chisiamo .chi2-photo img { aspect-ratio: 5/7; }
@media (width<=800px) {
  section.chisiamo .chi2-photo { border-width: 12px; border-bottom-width: 56px; }
}

/* ===== Hai dubbi sul tuo caso?: la chat di Giuseppe dentro lo schermo di un telefono tenuto in mano (titolare 12/11) =====
   foto mano-telefono_v2.jpg 690x1048, telefono in proporzione iPhone (71,9 x 150 mm); lo schermo nella foto: left 32.9%, top 6.3%, larghezza 50.3%, altezza 71.66% */
.phone-hand {
  position: relative;
  width: min(460px, 100%);
  margin: 0 auto;
  aspect-ratio: 690 / 1048;
}
.ph-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.ph-screen {
  position: absolute;
  left: 32.9%; top: 6.3%; width: 50.3%; height: 71.66%;
  border-radius: 13.8% / 6.4%;
  overflow: hidden;
  background: #EFEAE2;
  container-type: inline-size;
}
.ph-screen .dubbi-chat {
  min-height: 0; height: 100%;
  border-radius: 0; box-shadow: none;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 0 4cqw 4cqw; gap: 4cqw;
  font-size: 4.6cqw;
}
.ph-screen .dc-head {
  margin: 0 -4cqw 1.5cqw; padding: 2cqw 4cqw 3cqw;
  background: #F8F6F2; border-bottom: 1px solid rgba(22,22,22,.08); gap: 2.6cqw;
}
.ph-screen .dc-head b { font-size: 5cqw; }
.ph-screen .dc-head small { font-size: 3.8cqw; }
.ph-screen .dc-av { width: 9cqw; height: 9cqw; }
.ph-screen .dc-av svg { width: 5cqw; height: 5cqw; }
.ph-screen .dm { gap: 2cqw; max-width: 92%; }
.ph-screen .dm p { font-size: 5.1cqw; line-height: 1.32; padding: 3cqw 3.8cqw; border-radius: 4.5cqw 4.5cqw 4.5cqw 1.2cqw; }
.ph-screen .dm.me p { border-radius: 4.5cqw 4.5cqw 1.2cqw 4.5cqw; }
.ph-screen .dm-av { width: 7cqw; height: 7cqw; }
.ph-screen .dm-av svg { width: 4cqw; height: 4cqw; }
.ph-screen .dm-dots { padding: 3.4cqw 3.6cqw !important; gap: 1.2cqw; }
.ph-screen .dm-dots i { width: 1.6cqw; height: 1.6cqw; }
@media (width<=800px) {
  .phone-hand { width: min(400px, 100%); margin-top: 8px; }
}

/* Barra di stato e notch come sull'iPhone */
.ph-screen { display: flex; flex-direction: column; }
.ph-screen .dubbi-chat { flex: 1; height: auto; }
.ph-status {
  position: relative; flex: none;
  height: 12cqw; padding: 0 7cqw;
  display: flex; align-items: center; justify-content: space-between;
  background: #F8F6F2; color: #111;
  font: 600 4.4cqw/1 -apple-system, "SF Pro Text", Inter, sans-serif;
}
.ph-notch {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 46%; height: 7.6cqw; background: #000;
  border-radius: 0 0 4.6cqw 4.6cqw;
}
.ph-time { position: relative; z-index: 1; }
.ph-icons { display: flex; align-items: center; gap: 1.4cqw; }
.ph-icons i { display: block; }
.ph-batt { position: relative; width: 6cqw; height: 2.8cqw; border: .35cqw solid rgba(17,17,17,.45); border-radius: .9cqw; }
.ph-batt:before { content: ""; position: absolute; inset: .35cqw; right: 1.2cqw; background: #111; border-radius: .4cqw; }
.ph-batt:after { content: ""; position: absolute; right: -1cqw; top: 50%; transform: translateY(-50%); width: .5cqw; height: 1.2cqw; background: rgba(17,17,17,.45); border-radius: 0 .3cqw .3cqw 0; }

/* ===== Domande: le due box entrano scorrendo (titolare 12/11) =====
   «Hai già il NIE?» arriva da destra e si ferma al centro; «Per cosa ti serve?» arriva da sinistra */
.dq .dq-step { transition: transform 1s var(--ease), opacity .8s var(--ease); }
.dq:not(.in) .dq-step:nth-child(1) { transform: translateX(45vw); opacity: 0; }
.dq:not(.in) .dq-step:nth-child(2) { transform: translateX(-45vw); opacity: 0; }
.dq.in .dq-step:nth-child(2) { transition-delay: .25s; }
.dq.in .dq-step.dq-off { opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .dq .dq-step { transition: none; transform: none !important; }
}

/* Opzioni: in ordine su una griglia, angoli poco arrotondati, vetro chiaro sbiadito stile iPhone;
   si legge soprattutto la scritta, scelta = bordo che si illumina di arancio */
.dq .chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (width<=600px) { .dq .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dq .chip {
  border-radius: 14px;
  padding: 13px 14px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), rgba(22,22,22,.035);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(22,22,22,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .3s, box-shadow .3s, transform .25s var(--ease);
}
.dq .chip:hover { border-color: rgba(255,122,47,.45); transform: translateY(-1px); }
.dq .chip.on {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), rgba(22,22,22,.035);
  color: var(--ink);
  border-color: #FF7A2F;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 3px rgba(255,122,47,.18), 0 0 22px rgba(255,122,47,.45);
}

/* Opzioni di tutte e due le domande: piccole, larghe quanto la scritta, ogni scritta su una sola riga (titolare 12/11) */
.dq .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dq .chip { white-space: nowrap; padding: 8px 13px; font-size: 14px; border-radius: 12px; }
/* Le due box sempre della stessa altezza */
.dq { display: grid; grid-auto-rows: 1fr; gap: 14px; }

/* Opzioni nello stile del bottone morbido di riferimento (senza freccia): bianco perla in rilievo,
   bordo chiaro, ombra morbida; forma quadrata con angoli appena arrotondati (titolare 12/11) */
.dq .chip {
  border-radius: 10px;
  color: #1c2238;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F4 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(28,34,56,.08), 0 8px 16px -7px rgba(28,34,56,.5), 0 2px 4px -1px rgba(28,34,56,.12), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(28,34,56,.04);
}
.dq .chip:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(28,34,56,.09), 0 9px 18px -9px rgba(28,34,56,.4), inset 0 1px 0 #fff; }
.dq .chip.on {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F4 100%);
  color: #1c2238;
  border-color: #FF7A2F;
  box-shadow: 0 0 0 1px #FF7A2F, 0 0 0 4px rgba(255,122,47,.16), 0 0 22px rgba(255,122,47,.45), inset 0 1px 0 #fff;
}
/* Su telefono la prima box torna alla sua altezza naturale, più corta della seconda (titolare 12/11) */
@media (width<=800px) { .dq { grid-auto-rows: auto; } }

/* Domande: al primo tentativo di scorrere oltre, la sezione fa un rimbalzo per attirare l'attenzione;
   dal secondo tentativo si scorre liberamente anche senza rispondere (titolare 12/11) */
@keyframes dq-bounce {
  0% { transform: translateY(0); }
  22% { transform: translateY(-26px); }
  42% { transform: translateY(0); }
  58% { transform: translateY(-11px); }
  74% { transform: translateY(0); }
  86% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
#situazione > .wrap.dq-bounce { animation: dq-bounce .9s cubic-bezier(.3, .7, .4, 1); }
@media (prefers-reduced-motion: reduce) { #situazione > .wrap.dq-bounce { animation: none; } }


/* ===== Telefono: chat identica a WhatsApp su iPhone (titolare 12/11) =====
   sfondo beige con disegnini, inviati verdino #D9FDD3 con orario e spunte blu, nuvolette con la punta,
   barra di scrittura e tastiera iOS. Le animazioni (puntini, messaggi uno alla volta) restano quelle di Giuseppe */
.ph-screen { background: #F5EFE6 url("/prove/giuseppe/assets/wa-sfondo_v1.jpg") center top / 100% auto repeat-y; }
.ph-status { background: #F7F6F4; }
.ph-screen .dubbi-chat {
  position: relative; justify-content: flex-end; overflow: hidden;
  padding: 18cqw 3.2cqw 2.4cqw; gap: 2cqw;
}
.ph-screen .dc-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; margin: 0;
  padding: 2.2cqw 3.6cqw 2.6cqw 9cqw; background: #F7F6F4; border-bottom: 1px solid rgba(0,0,0,.08);
}
.ph-screen .dc-head:before {
  content: ""; position: absolute; left: 3.4cqw; top: 50%; width: 2.6cqw; height: 4.4cqw; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2020%22%20fill%3D%22none%22%20stroke%3D%22%23111%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%202%202%2010l8%208%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph-screen .dm-av { display: none; }
.ph-screen .dm { max-width: 82%; }
.ph-screen .dm p {
  position: relative; background: #fff; color: #111;
  font-size: 4.3cqw; line-height: 1.3; padding: 2cqw 3cqw 2.2cqw;
  border-radius: 3.6cqw 3.6cqw 3.6cqw 1cqw;
  box-shadow: 0 .3cqw .3cqw rgba(0,0,0,.08);
}
.ph-screen .dm.me p { background: #D9FDD3; border-radius: 3.6cqw 3.6cqw 1cqw 3.6cqw; }
.ph-screen .dm p:not(.dm-dots):after {
  content: "11:35"; display: inline-block; margin-left: 2.4cqw; transform: translateY(1cqw);
  font-size: 2.9cqw; color: rgba(0,0,0,.45); float: right;
}
.ph-screen .dm.me p:not(.dm-dots):after {
  content: "11:36"; padding-right: 4.4cqw;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2018%2012%22%20fill%3D%22none%22%20stroke%3D%22%2353BDEB%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M1%206.5l3%203L10%202%22/%3E%3Cpath%20d%3D%22M7%209.5l1%200.5L15%202%22/%3E%3C/svg%3E") right center / 3.6cqw auto no-repeat;
}
/* punta leggermente allungata */
.ph-screen .dm p:before {
  content: ""; position: absolute; bottom: 0; width: 3cqw; height: 3.6cqw;
  background: inherit;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 70%, #000 71%);
  mask: radial-gradient(circle at 0 0, transparent 70%, #000 71%);
}
.ph-screen .dm:not(.me) p:before { left: -1.9cqw; transform: scaleX(-1); }
.ph-screen .dm.me p:before { right: -1.9cqw; }
.ph-screen .dm-dots { padding: 3cqw 3.4cqw !important; }

/* barra di scrittura */
.ph-input {
  flex: none; display: flex; align-items: center; gap: 2.4cqw;
  padding: 1.8cqw 3cqw 2cqw; background: #F7F6F4; color: #111; border-top: 1px solid rgba(0,0,0,.06);
}
.ph-input svg { width: 5.4cqw; height: 5.4cqw; display: block; }
.pi-field {
  flex: 1; height: 7.2cqw; border-radius: 4cqw; background: #fff; border: 1px solid rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: space-between; padding: 0 1.6cqw 0 2.6cqw;
}
.pi-field .pi-st svg { width: 4.6cqw; height: 4.6cqw; }
.pi-caret { width: .45cqw; height: 4.2cqw; background: #25D366; border-radius: 1px; animation: pi-blink 1s steps(1) infinite; }
@keyframes pi-blink { 50% { opacity: 0; } }

/* tastiera iOS */
.ph-kb {
  flex: none; background: #D3D6DD; padding: 0 1cqw 1cqw;
  font: 400 4.6cqw/1 -apple-system, "SF Pro Text", Inter, sans-serif; color: #111;
}
.kb-sug { display: flex; height: 8cqw; align-items: center; color: #444; font-size: 4.2cqw; }
.kb-sug span { flex: 1; text-align: center; }
.kb-sug span + span { border-left: 1px solid rgba(0,0,0,.15); }
.kb-row { display: flex; gap: 1.3cqw; margin-bottom: 2.3cqw; padding: 0 .4cqw; }
.kb-r2 { padding: 0 4.8cqw; }
.ph-kb .k {
  flex: 1; height: 9.4cqw; display: grid; place-items: center;
  background: #fff; border-radius: 1.3cqw; box-shadow: 0 .35cqw 0 rgba(0,0,0,.28);
}
.ph-kb .k-f { background: #ABB0BA; }
.ph-kb .k-w { flex: 1.45; margin: 0 1cqw; }
.ph-kb .k svg { width: 4.8cqw; height: 4.8cqw; }
.ph-kb .k-123 { flex: 1.3; font-size: 3.9cqw; }
.ph-kb .k-emo { flex: 1.3; }
.ph-kb .k-sp { flex: 5.4; position: relative; }
.ph-kb .k-sp small { position: absolute; right: 2cqw; bottom: 1.2cqw; font-size: 2.4cqw; color: #999; letter-spacing: .05em; }
.ph-kb .k-ret { flex: 2.6; }
.kb-bot { display: flex; justify-content: space-between; padding: .6cqw 5cqw 3.4cqw; color: #333; }
.kb-bot svg { width: 6cqw; height: 6cqw; }
/* Orari della chat: primo messaggio del cliente 11:35, tutti gli altri 11:36 (titolare 12/11) */
.ph-screen .dm p:not(.dm-dots):after { content: "11:36"; }
.ph-screen .dc-head + .dm.me p:not(.dm-dots):after { content: "11:35"; }
/* Separatore «Oggi» di WhatsApp sopra il primo messaggio */
.ph-screen .dubbi-chat:before {
  content: "Oggi"; align-self: center; flex: none;
  margin-bottom: 2.4cqw; padding: 1.2cqw 3.6cqw;
  background: #fff; border-radius: 2.2cqw; box-shadow: 0 .3cqw .3cqw rgba(0,0,0,.06);
  font: 600 3.6cqw/1.2 -apple-system, "SF Pro Text", Inter, sans-serif; color: #111;
}
/* Punta delle nuvolette come su WhatsApp: l'angolo in basso è dritto e la punta ne prolunga il lato
   con una curva concava che finisce a punta in basso (titolare 12/11) */
.ph-screen .dm p { border-radius: 3.6cqw 3.6cqw 3.6cqw 0; }
.ph-screen .dm.me p { border-radius: 3.6cqw 3.6cqw 0 3.6cqw; }
.ph-screen .dm p:before {
  width: 3cqw; height: 4.2cqw; bottom: 0;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 2.95cqw, #000 3.05cqw);
  mask: radial-gradient(circle at 100% 0, transparent 2.95cqw, #000 3.05cqw);
}
.ph-screen .dm.me p:before { right: -2.9cqw; left: auto; transform: none; }
.ph-screen .dm:not(.me) p:before { left: -2.9cqw; right: auto; transform: scaleX(-1); }

/* punta disegnata: curva che scende dal lato della nuvoletta fino alla punta in basso */
.ph-screen .dm p:before {
  -webkit-mask: none; mask: none;
  width: 3cqw; height: 4.4cqw; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2010%2014%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%200C0%207.5%203.5%2012%2010%2014H0Z%22%20fill%3D%22%23FFFFFF%22/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.ph-screen .dm.me p:before { right: -2.9cqw; left: auto; transform: none; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2010%2014%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%200C0%207.5%203.5%2012%2010%2014H0Z%22%20fill%3D%22%23D9FDD3%22/%3E%3C/svg%3E"); }
.ph-screen .dm:not(.me) p:before { left: -2.9cqw; right: auto; transform: scaleX(-1); }
/* Titolo dell'hero: la coda di g, p, q non va tagliata dal contenitore dell'animazione (titolare 12/11) */
.split-parent { padding-bottom: .16em; margin-bottom: -.16em; }
/* Orario sempre sulla sua riga, in basso a destra della nuvoletta, in tutti i messaggi (titolare 12/11) */
.ph-screen .dm p:not(.dm-dots):after {
  display: block; float: none; transform: none;
  margin: .6cqw 0 0 auto; width: max-content; text-align: right;
}

/* «Il nostro metodo non è per tutti»: fondo bianco per staccare, contenuto che arriva veloce da sinistra (titolare 12/11) */
section.nonpertutti.nonpertutti { background: #FFFFFF; }
section.nonpertutti .blobs { display: none; }
section.nonpertutti .npt { transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), opacity .8s ease; }
section.nonpertutti:not(.npt-in) .npt { transform: translateX(-60vw); opacity: 0; }
@media (prefers-reduced-motion: reduce) { section.nonpertutti .npt { transition: none; transform: none !important; opacity: 1 !important; } }

/* Barra fissa: su desktop com'era (testo + WhatsApp + «Inizia la pratica");
   su telefono solo WhatsApp + «Inizia la tua pratica», senza testo (titolare 12/11) */
.sticky .st-mob { display: none; }
@media (width<=760px) {
  .sticky .sticky-txt { display: none; }
  .sticky .st-desk { display: none; }
  .sticky .st-mob { display: inline; }
  /* barra piccola, larga quanto il contenuto e centrata; logo e bottone della stessa misura del desktop */
  .sticky { width: max-content; max-width: calc(100% - 24px); justify-content: center; gap: 10px; padding: 8px; }
  .sticky .btn { flex: none; }
}

/* Intestazione della chat come nel nuovo WhatsApp per iPhone (titolare 12/11):
   niente barra piena, freccia indietro in un cerchio di vetro, logo grande, nome e sotto «online» */
.ph-status { background: transparent; }
.ph-screen .dc-head {
  background: linear-gradient(180deg, rgba(245,239,230,.96) 0%, rgba(245,239,230,.85) 70%, rgba(245,239,230,0) 100%);
  border-bottom: 0;
  padding: 1.6cqw 3.4cqw 3.4cqw 15cqw; gap: 3cqw; align-items: center;
}
.ph-screen .dc-head:before {
  left: 3.2cqw; width: 9.6cqw; height: 9.6cqw; border-radius: 50%;
  background: rgba(255,255,255,.75) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2012%2020%22%20fill%3D%22none%22%20stroke%3D%22%23111%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%202%202%2010l7%208%22/%3E%3C/svg%3E") 44% 50% / 2.2cqw auto no-repeat;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 1.2cqw 3cqw -1cqw rgba(0,0,0,.18);
  transform: translateY(-62%);
}
.ph-screen .dc-av { width: 11.5cqw; height: 11.5cqw; flex: none; }
.ph-screen .dc-av svg { width: 6.4cqw; height: 6.4cqw; }
.ph-screen .dc-head b { font: 700 4.9cqw/1.15 -apple-system, "SF Pro Text", Inter, sans-serif; color: #111; }
.ph-screen .dc-head small { font: 400 3.6cqw/1.2 -apple-system, "SF Pro Text", Inter, sans-serif; color: #6b6b6b; }
.ph-screen .dubbi-chat { padding-top: 20cqw; }

/* ===== Metodo: foto protagoniste (titolare 12/11, idea 1) =====
   desktop: foto molto più grande accanto alla lista; telefono: foto a tutto schermo come una storia,
   con titolo e lista dei passi scritti sopra l'immagine (il passo attivo evidenziato) */
.story img:nth-of-type(1) { object-position: 40% 50%; }
.story img:nth-of-type(2) { object-position: 18% 50%; }
.story img:nth-of-type(3) { object-position: 24% 50%; }
.story img:nth-of-type(4) { object-position: 50% 40%; }
.story img:nth-of-type(5) { object-position: 44% 50%; }
@media (width>=901px) {
  section.metodo .metodo-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); }
  section.metodo .metodo-pin { padding-top: 96px; }
  section.metodo .story { width: 100%; max-width: none; height: calc(100svh - 96px - var(--barra) - 16px); max-height: 820px; aspect-ratio: auto; border-radius: 28px; }
  section.metodo .story-txt h3 { font-size: clamp(26px, 2.4vw, 34px); }
}
@media (width<=900px) {
  section.metodo .metodo-pin { padding: 0; }
  section.metodo .metodo-grid { position: static; height: 100%; gap: 0; padding: 0; }
  section.metodo .story {
    position: absolute; inset: 0; z-index: 0; height: 100%; max-width: none;
    border-radius: 0; box-shadow: none;
  }
  section.metodo .story:after {
    background: linear-gradient(180deg, rgba(18,30,36,.72) 0%, rgba(18,30,36,.25) 26%, rgba(18,30,36,0) 42%, rgba(18,30,36,.15) 52%, rgba(18,30,36,.82) 78%, rgba(18,30,36,.92) 100%);
  }
  section.metodo .story-txt { display: none; }
  section.metodo .metodo-bars { z-index: 3; top: 82px; left: 16px; right: 16px; }
  section.metodo .metodo-bars span { background: rgba(255,255,255,.35); }
  section.metodo .metodo-copy {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 104px 16px calc(var(--barra) + 4px);
  }
  section.metodo .metodo-copy h2, section.metodo .metodo-copy h2 em { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  section.metodo .metodo-list { display: flex; margin-top: 0; }
  section.metodo .metodo-list button { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7); padding: 9px 0; gap: 12px; }
  section.metodo .metodo-list b { font-size: 15px; }
  section.metodo .metodo-list small { color: rgba(255,255,255,.6); }
  section.metodo .metodo-list li.on button, section.metodo .metodo-list li.done button { color: #fff; opacity: 1; }
  section.metodo .metodo-list span { width: 26px; height: 26px; background: rgba(255,255,255,.18); color: #fff; }
  section.metodo .metodo-list li.done span { background: #fff; color: var(--ink); }
  section.metodo .metodo-list li.on span { background: #FF7A2F; color: var(--ink); }
  section.metodo .metodo-list li.on:before { left: -10px; top: 13px; }
}

/* ===================== Giro 3 (13/11): feedback del titolare guardando dal telefono ===================== */

/* --- Domande: in fondo il gradiente sfuma nel cielo chiaro dei clienti, non più nell'arancio --- */
section.domande.domande {
  background:
    linear-gradient(180deg, rgba(227,241,244,0) 80%, #E3F1F4 100%),
    radial-gradient(55% 50% at 88% 84%, rgba(255,122,47,.85) 0%, rgba(255,122,47,.55) 30%, rgba(255,122,47,0) 72%),
    radial-gradient(60% 65% at 78% 38%, rgba(255,170,115,.7) 0%, rgba(255,185,138,.35) 45%, rgba(255,185,138,0) 75%),
    radial-gradient(45% 85% at 8% 35%, rgba(205,196,189,.95) 0%, rgba(214,205,198,.55) 40%, rgba(214,205,198,0) 75%),
    linear-gradient(180deg, #ECE5DE 0%, #F2E6DA 55%, #F6CDAE 100%);
}
/* Box che spuntano da dietro, una alla volta (non più di lato) */
.dq .dq-step { transition: transform .85s cubic-bezier(.34, 1.45, .64, 1), opacity .5s ease; transform-origin: 50% 70%; }
.dq:not(.in) .dq-step:nth-child(1),
.dq:not(.in) .dq-step:nth-child(2) { transform: scale(.78) translateY(24px); opacity: 0; }
.dq.in .dq-step:nth-child(1) { transition-delay: .05s; }
.dq.in .dq-step:nth-child(2) { transition-delay: .7s; }
/* Domanda 2: due colonne ordinate, a sinistra le risposte più lunghe; in ogni colonna i box sono larghi uguali.
   Se le risposte sono dispari, l'ultima («Altro») va da sola al centro, larga come la colonna di destra */
.dq-step:nth-child(2) .chips {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 8px; max-width: 520px;
}
.dq-step:nth-child(2) .chip {
  width: 100%; white-space: normal; line-height: 1.25; min-height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.dq-step:nth-child(2) .chip:last-child:nth-child(odd) {
  grid-column: 1 / -1; justify-self: center; width: calc((100% - 8px) / 2.5);
}

/* --- Clienti: niente più arancio pieno; cielo sfumato e morbido che scende verso il petrolio, dove stanno i contatori --- */
section.clienti.clienti {
  background:
    radial-gradient(55% 30% at 88% 10%, rgba(255,197,158,.55) 0%, rgba(255,197,158,0) 70%),
    radial-gradient(70% 35% at 8% 34%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #E3F1F4 0%, #C9E7EC 28%, #9FD3DE 52%, #3E7A88 76%, #1F4F5C 100%);
}
section.clienti h2 em { color: var(--blu); }
section.clienti .sec-head.row { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
section.clienti h2.fall { margin: 0 auto; text-align: center; }
section.clienti .tabs { background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
section.clienti .cl-card { box-shadow: 0 18px 40px -22px rgba(18,53,64,.55); }
section.clienti .counters b { color: #fff; }
section.clienti .counters > div > span { color: rgba(255,255,255,.86); }
/* 950+ col gradiente di Giuseppe (arancio → pesca → cielo), come la freccia del bottone «Inizia la pratica» */
section.clienti .counter-new b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Foto dei clienti: situazione in alto a sinistra, provincia in alto a destra, sotto solo il nome, al centro e non a tutta larghezza */
.cl-sit.glass { max-width: calc(58% - 10px); }
.cl-card .cl-prov {
  position: absolute; z-index: 1; top: 10px; right: 10px; max-width: calc(42% - 14px);
  padding: 7px 12px; border-radius: 999px; font-size: 12.5px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cl-card figcaption.glass {
  left: 50%; right: auto; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 20px);
  padding: 8px 16px; border-radius: 999px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Google: titolo della recensione come sul sito di oggi */
.g-card .g-title { font-size: 16.5px; font-weight: 700; line-height: 1.25; margin: 2px 0 6px; color: var(--ink); }
/* Nastri: scorrono da soli (WhatsApp più lento) e si trascinano col dito; la barra di scorrimento non si vede */
.rv-track.nie-nastro { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.rv-track.nie-nastro::-webkit-scrollbar { display: none; }
.rv-track.nie-nastro .rv-belt { animation: none !important; }

/* --- Metodo su telefono: storia Instagram. Una foto a schermo con il suo passo, 5 s ciascuna,
   tocco a destra avanti e a sinistra indietro, la pagina si ferma sulla sezione finché le foto non finiscono --- */
.story-tap { display: none; }
@media (width<=900px) {
  section.metodo.metodo { height: 100svh; }
  section.metodo .metodo-list { display: none; }
  section.metodo .metodo-copy { justify-content: flex-start; pointer-events: none; text-align: center; }
  section.metodo .metodo-copy h2 { margin: 0 auto; max-width: 19ch; font-size: clamp(25px, 7vw, 34px); line-height: 1.12; }
  section.metodo .story-txt {
    display: block; z-index: 3; left: 20px; right: 20px; bottom: calc(var(--barra) + 26px);
    text-align: center; pointer-events: none;
  }
  section.metodo .story-txt span { font-size: 13px; letter-spacing: .08em; }
  section.metodo .story-txt h3 { color: #fff; font-size: clamp(23px, 6.6vw, 30px); line-height: 1.15; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
  section.metodo .story-txt p { font-size: 19px; }
  .story-tap {
    display: block; position: absolute; top: 0; bottom: 0; z-index: 2;
    background: transparent; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; cursor: pointer;
  }
  .story-tap-prev { left: 0; width: 34%; }
  .story-tap-next { right: 0; width: 66%; }
}

/* --- «Il nostro metodo non è per tutti»: centrato, titolo su due righe ma più grande --- */
section.nonpertutti .npt { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 26px; }
section.nonpertutti .npt h2 { max-width: none; margin: 0 auto; font-size: clamp(40px, 10.6vw, 64px); line-height: 1.04; }
section.nonpertutti .npt h2 em { display: block; }
section.nonpertutti .npt ul { align-items: flex-start; text-align: left; margin: 0 auto; }

/* --- Pacchetti --- */
/* «La più scelta» come sul sito di oggi: centrata in alto, a cavallo del bordo della card, dentro un box */
.plan-wrap { position: relative; }
.plan-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); z-index: 6;
  padding: 8px 20px; border-radius: 999px;
  background: var(--grad); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(255,122,47,.75), 0 0 0 3px #FBF7F1;
}
@media (width<=1000px) { .plan-wrap.top { margin-top: 16px; } }
.plan-top-card h3 { margin-top: 10px; }
/* Velocità dell'appuntamento con 3 fulmini stilizzati: Expert 1, Concierge 2, Premium 3; il tempo più grande */
.time.nie-time { display: flex; align-items: center; gap: 14px; }
.nie-time p { display: flex; flex-direction: column; margin: 0; font-size: 14px; line-height: 1.2; }
.nie-time p b { font-size: 22px; font-weight: 700; line-height: 1.15; margin-top: 2px; }
.nie-fulmini { display: inline-flex; gap: 1px; flex: none; }
.nie-fulmini svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; opacity: .35; }
.nie-fulmini svg.on { fill: #FF7A2F; stroke: #FF7A2F; opacity: 1; }
.plan-top-card .nie-time p b { color: #FBF7F1; }
/* Testo sotto la lista centrato; «Inizia ora» centrato col fulmine come sul sito di oggi */
.plan-note { text-align: center; }
.plan .btn .cta-bolt { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
/* «Hai urgenza? Ti consigliamo il Premium» in bianco sul fondo arancio */
.plans-foot, .plans-foot button { color: #fff; }

/* --- Hai dubbi sul tuo caso?: titolo centrato; su telefono titolo su una riga e sezione compatta,
   mano col telefono ingrandita perché i messaggi si leggano; restano le sfumature ai lati --- */
section.dubbi h2 { text-align: center; margin-left: auto; margin-right: auto; }
@media (width<=800px) {
  section.dubbi { padding: 34px 0 26px; overflow: hidden; }
  .dubbi-grid { gap: 0; }
  .dubbi-grid > div:first-child { display: contents; }
  section.dubbi h2 { order: 0; white-space: nowrap; max-width: none; font-size: clamp(25px, 8.4vw, 40px); margin: 0 auto 4px; }
  .dubbi .phone-hand { order: 1; width: 140%; max-width: none; margin: 0 0 -38% -30.2%; }
  .dubbi .ph-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 27%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 72%, transparent 92%);
    mask-image: linear-gradient(90deg, transparent 18%, #000 27%, #000 91%, transparent 100%), linear-gradient(180deg, transparent 0, #000 5%, #000 72%, transparent 92%);
  }
  .dubbi .wa-btn { order: 2; position: relative; z-index: 2; width: auto; justify-self: center; padding: 0 26px; }
}

/* --- Garanzia su telefono: niente 3 passi, una frase a trattini sotto il titolo; l'asterisco appena sotto il titolo --- */
.cert-inc-mob, .cert-lista { display: none; }
@media (width<=760px) {
  .cert-top { justify-content: center; }
  .cert-top .cert-inc { display: none; }
  .cert-hero { text-align: center; }
  .cert h2 { margin: 0 auto; }
  .cert-inc-mob { display: block; margin-top: 10px; font-size: 13px; color: var(--grigio); }
  .cert-steps { display: none; }
  .cert-lista { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
  .cert-lista li { position: relative; padding-left: 24px; font-size: 16.5px; line-height: 1.4; }
  .cert-lista li:before { content: "—"; position: absolute; left: 0; color: var(--arancio-d); font-weight: 600; }
  .cert-foot { margin-top: 24px; justify-content: center; text-align: center; }
}

/* --- Chi siamo su telefono: titoli centrati --- */
@media (width<=800px) {
  .chi2-copy > h2, .chi2-copy > h3 { text-align: center; margin-left: auto; margin-right: auto; }
  .chi2-copy > .eyebrow { display: flex; justify-content: center; }
}

/* --- «Vuoi sapere com'è andata a chi c'è già passato?»: un titolo vero, centrato --- */
.ver { flex-direction: column; justify-content: center; text-align: center; gap: 22px; }
.ver-tit { max-width: 20ch; margin: 0 auto; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; }

/* --- FAQ: 5 alla volta, pallini numerati per passare alle altre --- */
.faq-pag { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.faq-pag button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linea); background: #fff;
  font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; transition: background .25s, color .25s;
}
.faq-pag button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --- Footer: loghi dei metodi di pagamento al posto dei nomi, niente PayPal --- */
.pay i { display: inline-grid; place-items: center; padding: 4px 9px; }
.pay img { display: block; width: 30px; height: 30px; }
/* colonna di destra larga quanto la sua risposta più lunga, la sinistra prende il resto */
.dq-step:nth-child(2) .chips { grid-template-columns: minmax(0, 1fr) minmax(104px, max-content); }
.dq-step:nth-child(2) .chip { padding: 9px 12px; }
.dq-step:nth-child(2) .chip:last-child:nth-child(odd) { width: auto; min-width: 120px; }
@media (width<=800px) {
  section.dubbi h2 em { display: inline; }
  .dubbi .ph-screen .dm p { font-size: 4.9cqw; }
}
@media (width<=760px) {
  .cert-hero { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .cert .cert-hero h2 { max-width: none; font-size: clamp(36px, 10.5vw, 48px); line-height: 1.05; }
  .cert-hero .cert-seal { position: static; margin-top: 14px; }
}

/* ===================== Giro 4 (13/11) ===================== */
/* Clienti: sfondo = gradiente del brand di Alba (cielo, crema, arancio, petrolio), senza la scritta del logo */
section.clienti.clienti { background: #A3D0DC url("/prove/giuseppe/assets/clienti-sfondo_v1.jpg") center / cover no-repeat; }
section.clienti .counters b, section.clienti .counters > div > span { text-shadow: 0 1px 14px rgba(18,53,64,.45); }
/* Foto dei clienti: un solo box in vetro in basso, sopra il nome e sotto «Situazione · Provincia», ogni riga su una riga sola */
.cl-card .cl-sit, .cl-card .cl-prov { display: none; }
.cl-card figcaption.cl-box {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 16px 9px; border-radius: 16px; line-height: 1.25;
}
.cl-box b { font-size: 14px; font-weight: 600; }
.cl-box span { font-size: 12.5px; opacity: .9; white-space: nowrap; }

/* Metodo: su desktop la foto a sinistra e il testo a destra; su telefono solo la foto con il suo passo, senza il titolo sopra */
@media (width>=901px) {
  section.metodo .metodo-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  section.metodo .story { order: -1; }
}
@media (width<=900px) {
  section.metodo .metodo-copy { display: none; }
}

/* Chat: barra dell'ora e intestazione dello stesso colore pieno; lo sfondo di WhatsApp solo dietro i messaggi */
.ph-status { background: #F6F5F3; }
.ph-screen .dc-head { background: #F6F5F3; border-bottom: 1px solid rgba(0,0,0,.06); }

/* Hai dubbi sul tuo caso?: su desktop il bottone WhatsApp centrato sotto il titolo */
@media (width>=801px) {
  .dubbi-grid > div:first-child { display: flex; flex-direction: column; align-items: center; text-align: center; }
}

/* Garanzia: il segno del logo Studio Avecinda al centro del sigillo che gira */
.cert-logo { display: block; width: 40px; height: auto; }

/* ===================== Giro 5 (13/11) ===================== */
/* Chi siamo: foto nuova (soci-posa_v3.jpg, 4:5 perché le braccia non vengano tagliate), parallasse più leggera */
section.chisiamo .chi2-photo img { aspect-ratio: 4/5; transform: translateY(calc((1 - var(--k, 0)) * 26px)) scale(1.04); }

/* «Il nostro metodo non è per tutti»: su desktop il titolo su una riga sola; su telefono resta su due righe */
@media (width>=761px) {
  section.nonpertutti .npt h2 { white-space: nowrap; font-size: clamp(36px, 4.6vw, 64px); }
  section.nonpertutti .npt h2 em { display: inline; }
}

/* Clienti: in alto a sinistra «Situazione · Provincia», in basso il nome centrato; tab solo Clienti e Google */
.cl-card .cl-sit.glass { display: block; max-width: calc(100% - 20px); }

/* Domande «fini e delicate» provate il 13/11 e bocciate dal titolare: tornate alla versione del giro 3 */

/* Domande (13/11, titolare): la box «Hai già il NIE?» alta solo quanto il suo contenuto anche su desktop, niente spazio vuoto */
.dq { grid-auto-rows: auto; }

/* Footer (13/11, titolare): loghi di pagamento con i colori veri dei circuiti, su tasselli bianchi come al checkout */
.pay i { width: 52px; height: 34px; padding: 5px 7px; background: #fff; border: 0; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.pay img { width: 100%; height: 100%; object-fit: contain; }
.pay .pay-americanexpress { padding: 3px; background: #fff; }
.pay i { display: grid; place-items: center; overflow: hidden; }
.pay img { width: 38px; height: 22px; }
.pay .pay-americanexpress img { width: 26px; height: 26px; }

/* ===================== Giro 6 (15/11) ===================== */
/* «NON lavoriamo con tutti»: il NON maiuscolo e in arancio */
.npt-non { color: #FF7A2F; }

/* Hai dubbi sul tuo caso?: niente mano, solo il telefono con la chat animata */
section.dubbi .phone-hand {
  aspect-ratio: auto; width: min(320px, 82%); margin: 0 auto; padding: 11px;
  background: #1c1c1e; border-radius: 54px;
  box-shadow: 0 0 0 2px #46464a, 0 0 0 3px #111, 0 40px 70px -30px rgba(18,53,64,.55);
}
section.dubbi .ph-photo { display: none; }
section.dubbi .ph-screen {
  position: relative; left: auto; top: auto; width: 100%; height: auto;
  aspect-ratio: 347 / 751; border-radius: 44px;
}
@media (width<=800px) {
  section.dubbi .phone-hand { margin: 14px auto 0; }
  section.dubbi .wa-btn { margin-top: 20px; }
}

/* Pacchetti su desktop: da sinistra Expert, Concierge, Premium; stessa base, Concierge leggermente più alta come su NIE Experts */
@media (width>=1001px) {
  .plans { grid-template-columns: 1fr 1.08fr 1fr; align-items: stretch; }
  .plans .plan-wrap:nth-child(1) { order: 2; }
  .plans .plan-wrap:nth-child(2) { order: 3; }
  .plans .plan-wrap:nth-child(3) { order: 1; }
  .plans .plan-wrap.top { transform: none !important; }
  .plans .plan-wrap:not(.top) { margin-top: 30px; }
  .prezzi .sec-head h2.h2-prezzi { max-width: 32ch; }
}

/* Garanzia: via il cerchio sottile sullo sfondo della card */
.cert:after { display: none; }

/* Metodo: foto 3 nuova (verticale), foto 5 con la stretta di mano più in alto */
.story img:nth-of-type(3) { object-position: 50% 45%; }
.story img:nth-of-type(5) { object-position: 44% 78%; }

/* Domanda 1: risposte una sotto l'altra, centrate e larghe uguali; prima «No, non ancora» */
.dq-step:nth-child(1) .chips { flex-direction: column; align-items: center; }
.dq-step:nth-child(1) .chip { width: 220px; justify-content: center; text-align: center; }
/* su telefono la foto 5 riempie già l'altezza: la si alza ingrandendola del 20% e allineandola in basso, così la stretta di mano sale sopra il testo */
@media (width<=900px) {
  section.metodo .story img:nth-of-type(5) { top: -20%; height: 120%; object-position: 44% 50%; }
}

/* ===================== Giro 7 (15/11) ===================== */
/* Premium: su telefono tutte le voci come su NIE Experts (niente «Tutto quanto incluso in Concierge»); su desktop com'era */
.pc-mob { display: none !important; }
@media (width<=1000px) {
  .plan li.pc-mob { display: flex !important; }
  .plan .pc-desk { display: none; }
}
/* Garanzia e Chi siamo: niente angoli arrotondati in alto */
.garanzia, .stack-under, .stack-over, section.chisiamo.stack-over { border-radius: 0 !important; }

/* ===================== Scala unica dei titoli e ritmo verticale (15/11, analisi di design) =====================
   un solo h2 per tutte le sezioni (32-52 px), h1 più grande di ogni h2, un solo padding di sezione */
:root {
  --fs-h1: clamp(40px, 28px + 3.4vw, 72px);
  --fs-h2: clamp(32px, 24px + 2.2vw, 52px);
  --fs-h3: clamp(22px, 19px + .8vw, 28px);
  --fs-lead: clamp(17px, 16px + .35vw, 20px);
  --sec-y: clamp(64px, 40px + 6vw, 120px);
  --head-gap: clamp(32px, 24px + 2vw, 56px);
}
.hero .h1 { font-size: var(--fs-h1) !important; }
section.domande .sec-head h2,
section.clienti h2.fall,
section.metodo .metodo-copy h2,
section.nonpertutti .npt h2,
.prezzi .sec-head h2.h2-prezzi,
section.dubbi h2,
.cert .cert-hero h2, .cert h2,
.chi2-copy > h2,
.ver-tit,
section.confronto .sec-head h2,
section.faq-sec .sec-head h2,
.foot-cta h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  text-wrap: balance;
}
/* centrati dove la sezione è a una colonna; a sinistra solo accanto a una foto (metodo e chi siamo su desktop) e nel footer */
section.domande .sec-head h2, section.clienti h2.fall, section.nonpertutti .npt h2, .prezzi .sec-head h2.h2-prezzi,
section.dubbi h2, .cert h2, .ver-tit, section.confronto .sec-head h2, section.faq-sec .sec-head h2 {
  text-align: center; margin-left: auto; margin-right: auto;
}
.cert-hero { text-align: center; }
.cert .cert-hero h2 { max-width: none; }
/* eccezioni decise dal titolare: «Hai dubbi sul tuo caso?» su una riga da telefono; «NON lavoriamo con tutti» su una riga da desktop */
@media (width<=800px) { section.dubbi h2 { font-size: min(var(--fs-h2), 8.2vw); } }
.plan h3, .vs-card h3, .chi2-copy > h3, .dq-step h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.eyebrow { font-size: 13px; font-weight: 600; }
/* un solo padding verticale per le sezioni (tranne domande, metodo a schermo intero e dubbi compatto su telefono) */
main > section:not(.metodo):not(.domande) { padding-top: var(--sec-y); padding-bottom: var(--sec-y); }
@media (width<=800px) { main > section.dubbi { padding: 34px 0 26px; } }
.sec-head { margin-bottom: var(--head-gap); }
/* leggibilità e aree di tocco */
.plan li { font-size: 16px; line-height: 1.4; }
.faq-a p { max-width: 68ch; }
.dq-step .chip { min-height: 44px; font-size: 15px; }

/* ===================== Giro 8 (15/11) ===================== */
/* Recensioni su telefono: più spazio sopra il titolo, così dopo le due risposte il menu in alto non copre «Lasciamo» */
@media (width<=800px) { main > section.clienti.clienti { padding-top: 116px; } }

/* Metodo su telefono: foto 5 molto meno zoomata, larga quanto lo schermo, sul fondo scuro della storia */
@media (width<=900px) {
  section.metodo .story { background: var(--notte); }
  section.metodo .story img:nth-of-type(5) { top: 0; height: 100%; object-fit: contain; object-position: 50% 36%; }
}

/* Pacchetti su telefono: il titolo va a capo dove serve (niente riga forzata), più piccolo, così di solito sta su 2 righe */
@media (width<=640px) {
  .prezzi .sec-head h2.h2-prezzi { font-size: min(var(--fs-h2), 7.4vw); max-width: none; }
  .prezzi .sec-head h2.h2-prezzi em { display: inline; }
}

/* Chat: l'emoji grande quanto il testo, come su iPhone */
.ph-screen .dm-emoji { font-size: 1em; line-height: 1; display: inline; vertical-align: baseline; }

/* Chi siamo: niente cornice polaroid, solo la foto con angoli arrotondati come le card */
section.chisiamo .chi2-photo { border: 0; background: none; border-radius: 24px; overflow: hidden; }

/* «NON lavoriamo con tutti»: al massimo 2 colori, NON arancio e il resto inchiostro */
section.nonpertutti .npt h2, section.nonpertutti .npt h2 em { color: var(--ink); }

/* PROVA «Hai urgenza?»: inchiostro su una pillola di vetro chiaro, leggibile sull'arancio (contrasto ~14:1 invece di 2,6:1) */
.plans-foot {
  display: table; margin: 34px auto 0; padding: 12px 22px; border-radius: 999px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(18,53,64,.35);
}
.plans-foot, .plans-foot button { color: var(--ink); }
.plans-foot button { font-weight: 700; }

/* ===================== Giro 9 (15/11) ===================== */
/* Recensioni su telefono: spazio sopra il titolo ridotto (il menu finisce a ~72 px) */
@media (width<=800px) { main > section.clienti.clienti { padding-top: 92px; } }

/* Chat come uno screen vero di WhatsApp: l'orario sta sull'ultima riga del messaggio, in basso a destra,
   e va a capo solo se non c'entra; niente riga vuota sotto il testo */
.ph-screen .dm p:not(.dm-dots):after {
  display: inline-block; float: right; width: auto;
  margin: 1.1cqw 0 -.6cqw 2.6cqw; transform: none; line-height: 1;
}
.ph-screen .dm p { padding: 1.8cqw 2.8cqw 1.6cqw; }

/* Tre bottoni soli (titolare 15/11):
   1. principale = gradiente col fulmine e «Inizia ora», ovunque si va al checkout (hero, menu, barra, pacchetti, footer)
   2. secondario = contorno sottile, per le azioni che non vendono
   3. WhatsApp = verde */
:root { --r: 24px; }
.btn .cta-bolt { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.btn-sm .cta-bolt { width: 16px; height: 16px; }
.btn-cta { padding: 0 28px; }
.hero .btn-grad, .foot .btn-grad { color: var(--ink); }
.btn-sec { background: transparent; color: var(--ink); border: 1.5px solid rgba(22,22,22,.8); }
.btn-sec:hover { background: rgba(22,22,22,.05); }
.btn-wa { background: #25D366; color: #fff; border: 0; }
.btn-wa:hover { box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
/* orario come su WhatsApp: spazio invisibile in fondo al testo + orario appoggiato in basso a destra della nuvoletta */
.ph-screen .dm p:not(.dm-dots) { position: relative; }
.ph-screen .dm p:not(.dm-dots):after {
  position: absolute; right: 2.6cqw; bottom: 1.5cqw;
  display: block; float: none; margin: 0; width: auto;
}
.ph-screen .dm-sp { display: inline-block; width: 9cqw; height: 1px; }
.ph-screen .dm.me .dm-sp { width: 13.5cqw; }
.ph-screen .dm.me p:not(.dm-dots):after { right: 2.2cqw; }

/* Garanzia sotto «Inizia ora» di Concierge e Premium (titolare 15/11) */
.plan-garanzia { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 500; }
.plan-garanzia svg { flex: none; color: #FF7A2F; }
.plan-top-card .plan-garanzia { color: #FBF7F1; }
