@font-face { font-family: "Montserrat"; src: url("/media/Montserrat-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/media/Montserrat-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/media/Montserrat-Bold.ttf"); font-weight: 800; font-display: swap; }
:root { --azzurro: #00a6fb; --blu: #0582ca; --petrolio: #006494; --notte: #003554; --navy: #051923; --testo: #f2f6f8; --grigio: #9fb2bd; --errore: #ff6b6b; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100vh; background: #000; color: var(--testo); font-family: "Montserrat", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
       background-image: radial-gradient(1200px 600px at 85% -10%, rgba(0,166,251,.16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(5,130,202,.12), transparent 60%); }
a { color: var(--azzurro); }
.barra { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 56px); }
.barra img { height: 34px; display: block; }
main { max-width: 760px; margin: 0 auto; padding: clamp(20px, 5vw, 56px) 16px 80px; }
.etichetta { display: inline-block; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 18px 0 12px; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 6vw, 60px); line-height: 1; letter-spacing: -.01em; }
.intro { margin: 0 0 40px; color: #dfe8ee; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; }
form { display: grid; gap: 18px; }
.domanda { background: rgba(5,25,35,.72); border: 1px solid rgba(0,166,251,.18); border-radius: 12px; padding: 22px clamp(16px, 3vw, 28px); }
.domanda > label, .domanda > legend { display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 16px; line-height: 1.4; margin-bottom: 14px; padding: 0; }
fieldset.domanda { margin: 0; min-width: 0; }
.domanda .n { color: var(--azzurro); font-weight: 800; font-size: 13px; letter-spacing: .06em; flex: none; }
input[type=text], input[type=email], textarea { width: 100%; font: inherit; font-size: 16px; color: var(--testo); background: rgba(0,0,0,.45); border: 1px solid rgba(159,178,189,.35);
  border-radius: 8px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #6f8591; }
input:focus, textarea:focus { border-color: var(--azzurro); box-shadow: 0 0 0 3px rgba(0,166,251,.22); }
.scelte { display: grid; gap: 10px; }
.scelte.due { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.scelte.quattro { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.scelta { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 8px; border: 1px solid rgba(159,178,189,.35); background: rgba(0,0,0,.45);
  cursor: pointer; font-size: 15px; line-height: 1.35; transition: border-color .2s, background .2s; }
.scelta:hover { border-color: rgba(0,166,251,.6); }
.scelta input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 2px solid var(--grigio); display: grid; place-items: center; }
.scelta input:checked { border-color: var(--azzurro); }
.scelta input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azzurro); }
.scelta:has(input:checked) { border-color: var(--azzurro); background: rgba(0,166,251,.1); }
.scelta input:focus-visible { outline: 3px solid var(--azzurro); outline-offset: 2px; }
.dati { color: var(--grigio); font-size: 14px; line-height: 1.6; margin: 6px 0 0; }
.invio { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
.pulsante { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 34px; border-radius: 6px; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: var(--azzurro); color: #fff;
  box-shadow: 0 8px 28px rgba(0,166,251,.35); transition: transform .2s, background .2s, opacity .2s; }
.pulsante:hover { transform: translateY(-1px); background: #19b3ff; }
.pulsante:disabled { opacity: .55; cursor: default; transform: none; }
.messaggio { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--errore); }
.grazie { display: none; background: rgba(5,25,35,.72); border: 1px solid rgba(0,166,251,.35); border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.grazie h2 { margin: 0 0 10px; font-weight: 800; font-size: clamp(24px, 3.4vw, 32px); }
.grazie p { margin: 0; color: #dfe8ee; font-size: 17px; line-height: 1.55; }
body.inviato form { display: none; }
body.inviato .grazie { display: block; }
footer { text-align: center; color: #6f8591; font-size: 13px; padding: 0 16px 40px; }
footer a { color: #6f8591; }
.attuale { display: grid; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--grigio); }
.attuale[hidden] { display: none; }
.spunta { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.spunta input { width: 18px; height: 18px; margin: 0; accent-color: var(--azzurro); flex: none; }
