#contatto {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  overflow: hidden;
}
#contatto:focus { outline: 0; }
.contact-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(160, 24, 14, .3), transparent 76%),
    radial-gradient(44% 50% at 86% 80%, rgba(40, 54, 110, .3), transparent 72%);
}
.contact-wrap {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding: clamp(92px, 14vh, 150px) var(--gutter) clamp(40px, 7vh, 80px);
}
/* Lo stesso logo della fine del film, in testa alla sezione. */
.contact-brand { display: inline-block; margin-bottom: clamp(20px, 4vh, 40px); }
#contatto .contact-logo { justify-content: flex-start; font-size: clamp(64px, min(7.4vw, 14vh), 124px); }
.contact-agency {
  margin-top: 1.5em;
  font-size: clamp(.62rem, .95vw, .95rem);
  font-weight: 500; letter-spacing: .5em; text-indent: .5em; text-align: center;
  color: var(--red-soft);
}
.contact-x { position: absolute; left: 50%; top: 50%; display: block; pointer-events: none; }
.contact-title { margin-top: .22em; }
.contact-or { margin-top: 1.6em; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.contact-links { margin-top: 1em; display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 28px 22px; }
.contact-group ul { margin-top: .8em; display: grid; gap: 8px; }
.contact-group-title {
  display: flex; align-items: center; gap: .36em;
  font-size: clamp(1.5rem, 2.1vw, 2.1rem); font-weight: 560; letter-spacing: -.018em; line-height: 1.1;
  color: var(--red); text-shadow: var(--glow-red);
}
.contact-group-title svg { flex: none; width: 1.05em; height: 1.05em; filter: drop-shadow(0 0 10px rgba(255, 42, 26, .6)); }
.contact-links a {
  display: flex; align-items: center; min-height: 42px; padding: .4em 1em;
  font-size: .94rem; font-weight: 560; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px;
  transition: border-color .2s, background .2s;
}
.contact-links a:hover { border-color: var(--red); background: rgba(255, 42, 26, .12); }
.contact-mail-note { margin-top: 1em; font-size: .94rem; color: var(--grey); overflow-wrap: anywhere; }
.contact-mail-note strong { color: var(--white); font-weight: 560; }
.contact-mail-note a { margin-left: .5em; color: var(--red); }

.contact-form { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 36px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(20, 22, 36, .62); }
.contact-form label > span, .contact-form legend { display: block; margin-bottom: 6px; font-size: .84rem; color: var(--grey); font-weight: 540; padding: 0; }
.contact-form input[type="text"], .contact-form textarea {
  width: 100%; padding: .78em .9em;
  font: inherit; font-size: 1rem; color: var(--white);
  background: rgba(8, 9, 16, .7);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form input[type="text"]:focus, .contact-form textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 42, 26, .2); }
.contact-form fieldset { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-form legend { width: 100%; }
.radio { display: inline-flex; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.contact-form .radio span { display: block; margin: 0; padding: .55em 1em; font-size: .92rem; color: var(--white); border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; transition: border-color .2s, background .2s; }
.radio input:checked + span { border-color: var(--red); background: rgba(255, 42, 26, .18); }
.radio input:focus-visible + span { outline: 2px solid var(--red-soft); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.send {
  position: relative; overflow: hidden;
  min-height: 56px; font-size: 1.08rem; font-weight: 640; color: #fff;
  background: var(--red); border-radius: 11px;
  box-shadow: 0 0 34px rgba(255, 42, 26, .55), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .2s var(--ease-out), box-shadow .25s;
}
.send::after {
  content: ""; position: absolute; inset: 0 auto 0 -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease-out);
}
.send:hover { box-shadow: 0 0 54px rgba(255, 42, 26, .8), inset 0 1px 0 rgba(255, 255, 255, .28); }
.send:hover::after { left: 120%; }
.send:active { transform: translateY(1px) scale(.995); }

.send-choice { display: grid; gap: 8px; }
.send-choice[hidden] { display: none; }
.send-choice p { font-weight: 600; }
.send-options { display: flex; flex-wrap: wrap; gap: 8px; }
.send-options button, .send-options a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4em 1em;
  font: inherit; font-size: .94rem; font-weight: 560; color: var(--white); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.send-options button:hover, .send-options a:hover { border-color: var(--red); background: rgba(255, 42, 26, .12); }

.form-state > * { display: none; }
[data-form-state="ok"] .fs-ok, [data-form-state="whatsapp"] .fs-whatsapp { display: block; color: #fff; font-weight: 600; }
[data-form-state="error"] .fs-error { display: grid; gap: 6px; }
.fs-error p { color: var(--red-soft); font-weight: 560; }
.fs-error a { width: fit-content; min-height: 28px; font-weight: 560; }

.site-footer {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 20px var(--gutter) max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8rem; color: var(--grey);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-examples { flex-basis: 100%; font-size: .78rem; color: var(--grey); }
.form-privacy { font-size: .84rem; line-height: 1.4; color: var(--grey); }
.form-privacy a { color: inherit; }
.site-footer a { color: var(--grey); padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { font-size: .72rem; color: var(--grey); }

@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; align-items: start; }
  #contatto .contact-logo { font-size: min(21vw, 92px); }
}

#progress { transition: opacity .3s; }
#progress.is-off { opacity: 0; }

.privacy-page { padding: clamp(32px, 7vw, 90px) var(--gutter); }
.privacy-page main { max-width: 680px; margin: auto; }
.privacy-page .brand { display: inline-flex; align-items: center; gap: .55em; font-size: .8rem; font-weight: 700; letter-spacing: .24em; text-decoration: none; }
.privacy-page .brand i { width: .55em; height: .55em; border-radius: 50%; background: var(--red); }
.privacy-page h1 { margin: 1.1em 0 .4em; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.03em; font-weight: 560; }
.privacy-page h2 { margin: 1.7em 0 .4em; font-size: 1.05rem; color: var(--red-soft); font-weight: 600; }
.privacy-page p { line-height: 1.5; margin-bottom: .6em; }
.privacy-page main a { color: var(--white); }
.privacy-page ul { margin: 0 0 .6em 1.1em; line-height: 1.5; }
.privacy-page li { margin-bottom: .45em; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .92rem; }
.legal-nav a { padding: 4px 0; color: var(--grey); }
.privacy-page .legal-nav a[aria-current] { color: var(--white); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.legal-updated { color: var(--grey); font-size: .88rem; }
.legal-back { margin-top: 2.4em; }
.legal-business { display: grid; gap: 8px; margin-bottom: .8em; }
.legal-business dt { color: var(--grey); font-size: .84rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.legal-table th, .legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); text-align: left; vertical-align: top; }
.legal-table th { color: var(--grey); font-weight: 500; }
.legal-table code { font-size: .86em; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table tr { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .legal-table td { padding: 3px 0; border: 0; }
  .legal-table td::before { content: attr(data-label); display: block; color: var(--grey); font-size: .8rem; }
}
