/* Phonetastico — recupero-dati.css
   Pagina Recupero dati: intestazione, le due modalità, modulo di richiesta.
   Richiede common.css (form, card, layout contatti). */

/* Intestazione */
.rd-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 28px;
  border-radius: 18px; background: var(--accent); color: #fff;
  box-shadow: 0 12px 30px rgba(224, 53, 43, .25);
}
.rd-icon svg { width: 32px; height: 32px; }

/* Le due modalità */
.rd-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rd-way {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.rd-way__n {
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 22px;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.rd-way p { margin-top: 8px; color: var(--muted); }
@media (max-width: 760px) { .rd-ways { grid-template-columns: minmax(0, 1fr); } }

/* Modulo */
.rd-form__lead { margin: 12px 0 32px; }
.section--soft .field input,
.section--soft .field textarea { background: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* Scelta "Cosa è successo?" */
.picks { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.picks legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.picks__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 15px; color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.pick input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.pick input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  .pick input:not(:checked) + span:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
}
