/* Pagine pubbliche con moduli (contatti, diritti di proiezione). */
body { background: var(--bg); }
.forms-wrap { max-width: 680px; margin: 0 auto; padding: 0 1.2rem 4rem; }
header.forms-head { text-align: center; padding: 2rem 1rem 1.2rem; position: relative; }
header.forms-head .logo-badge { display: inline-block; line-height: 0; overflow: hidden; margin-bottom: 0.9rem; border-radius: 6px; border: 1.5px solid #1c1a17; }
header.forms-head img { height: 44px; width: auto; display: block; }
header.forms-head h1 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 4.5vw, 1.9rem); letter-spacing: -0.01em; }
header.forms-head p { margin: 0; color: var(--text-muted); }
.lang-switch { display: flex; justify-content: center; gap: 0.3rem; margin: 0.9rem 0 0; }
.lang-switch button {
  background: none; border: 1px solid var(--border); border-radius: 999px; padding: 0.25em 0.8em;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--text-muted); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { border-color: var(--accent); color: var(--text); }

.card-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.6rem; }
.card-form h2 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.card-form > .lead { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.92rem; }
.card-form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.card-form legend { padding: 0; margin: 0 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.f { margin-bottom: 0.85rem; }
.f label, .f .q { display: block; font-size: 0.88rem; margin-bottom: 0.3rem; color: var(--text); }
.f .opt { color: var(--text-muted); font-size: 0.8rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.f-row.thirds { grid-template-columns: 1fr 2fr; }
@media (max-width: 520px) { .f-row, .f-row.thirds { grid-template-columns: 1fr; gap: 0; } }
.choices { display: flex; gap: 0.6rem 1.4rem; flex-wrap: wrap; }
.choices label { display: inline-flex; align-items: center; gap: 0.45em; margin: 0; cursor: pointer; }
.choices input, .consent input { width: auto; margin: 0; }
.consent { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.86rem; color: var(--text-muted); margin: 0.4rem 0 1rem; cursor: pointer; }
.consent input { margin-top: 0.2em; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-error input, .f-error select, .f-error textarea { border-color: var(--danger); }
.form-msg { min-height: 1.3em; margin: 0.7rem 0 0; font-size: 0.88rem; color: var(--text-muted); }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: #2f7a46; }
.done { text-align: center; padding: 1.6rem 0.5rem; }
.done h2 { margin: 0 0 0.4rem; }
.done p { margin: 0; color: var(--text-muted); }
.links-row { text-align: center; margin: 0 0 1.6rem; font-size: 0.9rem; }
.links-row a { color: var(--text-muted); }
.links-row a:hover { color: var(--accent); }
footer.forms-foot { text-align: center; padding: 0 1rem 3rem; }
footer.forms-foot a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
footer.forms-foot a:hover { color: var(--accent); }
.hidden { display: none !important; }

/* Scelta del servizio (proiezioni ed eventi) */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-bottom: 1.2rem; }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }
.service {
  text-align: left; font: inherit; cursor: pointer; padding: 0.9rem 1rem; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg); color: var(--text); display: flex; flex-direction: column; gap: 0.25rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.service strong { font-size: 0.98rem; }
.service span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.35; }
.service:hover { border-color: var(--accent); }
.service.on { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 2px rgba(184,134,44,0.25); }


.notice { margin: 0 0 1rem; padding: 0.7rem 0.9rem; border-left: 3px solid var(--accent); background: rgba(184,134,44,0.09); border-radius: 0 8px 8px 0; font-size: 0.88rem; line-height: 1.45; color: var(--text); }
.notice p { margin: 0 0 0.45rem; }
.notice p:last-child { margin-bottom: 0; }

/* Immagine del servizio scelto, in cima al modulo */
.service-hero { height: 190px; margin: -1.4rem -1.4rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0; background: #2a2620 center/cover no-repeat; position: relative; }
.service-hero::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 45%); }
@media (max-width: 520px) { .service-hero { height: 150px; } }
