/* =========================================================
   RICHIESTA.CSS — IL MODULO UNICO (30-10 notte), vedi richiesta.js
   Quattro blocchi numerati: cosa ti interessa, cosa vorresti, chi sei, dove ti trovo. Da telefono una colonna.
   ========================================================= */
.richiesta-sezione { scroll-margin-top: 80px; }
.richiesta-sezione .section-head { text-align: center; }
.richiesta { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; text-align: left; }
.richiesta-blocco { border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px 18px; margin: 0; display: grid; gap: 12px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.richiesta-blocco legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.richiesta-blocco legend span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-gradient); color: var(--bg); font-size: 0.85rem; }
.richiesta-blocco legend small { font-weight: 400; color: var(--text-muted); font-family: var(--font-body, inherit); }
.richiesta label { display: grid; gap: 6px; font-size: 0.88rem; color: var(--text-secondary); }
.richiesta input:not([type=radio]):not([type=checkbox]), .richiesta select, .richiesta textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); font: inherit; font-size: 16px; box-sizing: border-box; }
.richiesta textarea { resize: vertical; line-height: 1.5; }
.richiesta input:focus, .richiesta select:focus, .richiesta textarea:focus { outline: none; border-color: var(--accent-2); }
.richiesta-due { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.richiesta-largo { grid-column: 1 / -1; }
.richiesta-motivi { display: flex; flex-wrap: wrap; gap: 8px; }
/* le scelte a pillola, come nei filtri del catalogo (negozio.css), qui per non dover caricare tutto il catalogo */
.richiesta .pillola { position: relative; cursor: pointer; display: inline-flex; }
.richiesta .pillola input { position: absolute; opacity: 0; pointer-events: none; }
.richiesta .pillola > span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.03); color: var(--text-secondary); }
.richiesta .pillola > span strong { font-weight: 500; }
.richiesta .pillola:hover > span { border-color: var(--border-strong); }
.richiesta .pillola input:checked + span { border-color: var(--accent-2); background: rgba(45, 212, 191, 0.10); box-shadow: 0 0 0 1px var(--accent-2) inset; color: var(--text-primary); }
.richiesta .pillola input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.richiesta-chiamata { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.richiesta-chiamata[hidden] { display: none; }
.richiesta-carrello pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 0.88rem; color: var(--text-secondary); padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.2); }
.richiesta-carrello p { margin: 0; font-size: 0.88rem; }
/* 02-11 notte: i servizi al mese del pacchetto scelto (richiesta.js, disegnaMese) */
.richiesta-mese { display: grid; gap: 6px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.2); }
.richiesta-mese[hidden] { display: none; }
.richiesta-mese-titolo { margin: 0 0 2px; font-weight: 600; color: var(--text-primary); } .richiesta-mese-titolo small { font-weight: 400; color: var(--text-muted); }
.richiesta-spunta { display: flex !important; align-items: center; gap: 10px; min-height: 44px; }
.richiesta-spunta input { width: 20px; height: 20px; accent-color: var(--accent-2); }
.richiesta-esca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.richiesta-errore { margin: 0; color: #ff9a9a; font-size: 0.9rem; }
.richiesta-errore a { color: var(--accent-2); }
.richiesta-invia { justify-self: start; min-height: 50px; padding: 0 28px; }
.richiesta-nota { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.richiesta-nota a { color: var(--accent-2); }
.richiesta-fatta { max-width: 760px; margin: 0 auto; padding: 28px; border-radius: 16px; border: 1px solid var(--accent-2); text-align: center; }
.richiesta-fatta h3 { margin: 0 0 8px; color: var(--text-primary); }
@media (max-width: 640px) {
  .richiesta-due, .richiesta-chiamata { grid-template-columns: 1fr; }
  .richiesta-blocco { padding: 14px; }
  .richiesta-invia { justify-self: stretch; }
}

/* il promemoria «Prenota» che resta in basso a sinistra sulle pagine dei pacchetti e dei servizi */
.prenota-sempre { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; background: var(--accent-gradient); color: var(--bg) !important; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.prenota-sempre.alzato { bottom: 76px; }
html.pres-aperta .prenota-sempre, html.chat-aperta .prenota-sempre, body.filtri-su .prenota-sempre, .prenota-sempre.nascosto { display: none; }
@media (max-width: 600px) { .prenota-sempre { left: 12px; bottom: 12px; padding: 0 16px; } .prenota-sempre.alzato { bottom: 72px; } }

/* la pagina dell'informativa */
.pagina-privacy { max-width: 760px; }
.pagina-privacy h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; }
.pagina-privacy p, .pagina-privacy li { color: var(--text-secondary); line-height: 1.65; }
.pagina-privacy ul { padding-left: 1.2rem; display: grid; gap: 8px; }
.pagina-privacy a { color: var(--accent-2); }

/* 30-10 notte: Safari (iPhone) disegna le tendine bianche a modo suo e il testo chiaro spariva: le ridisegno io */
.richiesta select { -webkit-appearance: none; appearance: none; background-color: var(--bg-card); padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.richiesta option, .richiesta optgroup { background: #141522; color: #f2f2f7; }
.richiesta-blocco legend { flex-wrap: wrap; }

/* 30-10 notte: «il calendario dei nuovi lavori riparte dal…», vicino a ogni modulo e a ogni «Prenota» (testo da data.js) */
.richiesta-calendario { margin: 0; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.06); color: var(--text-primary); font-size: 0.92rem; line-height: 1.5; }
.avviso-calendario { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--accent-2); }
.avviso-calendario:empty { display: none; }
.avviso-centro { text-align: center; }
.richiesta-piccolo { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
