:root {
  --blue: #007bbe;
  --blue-dark: #005f95;
  --ink: #22313f;
  --muted: #607080;
  --surface: #ffffff;
  --page: #edf4f8;
}

* { box-sizing: border-box; }

html { background: var(--page); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 16px/1.5 Arial, Helvetica, sans-serif;
}

a { color: var(--blue-dark); }
a:hover { color: #004c78; }
img { max-width: 100%; height: auto; border: 0; }

.sfondo_blu { background: var(--blue); }

#header {
  min-height: 72px;
  border-bottom: 4px solid #f6a800;
  box-shadow: 0 2px 8px rgba(0, 41, 65, .18);
}

#testata,
#contenuto,
#piede {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

#testata {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

#logo a {
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .02em;
}

#logo img { display: block; width: 201px; height: 47px; object-fit: contain; }

#menu_desktop { margin-left: auto; }
#menu_desktop ul {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#menu_desktop li { position: relative; }
#menu_desktop li > a {
  display: block;
  padding: 21px 11px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

#menu_desktop .voce_menu:hover > a,
#menu_desktop .voce_menu_corrente > a { background: var(--blue-dark); }
#menu_desktop li img[alt="Menu dot"] { display: none; }
#menu_desktop li:has(img[alt="Menu dot"]) { display: none; }

#menu_desktop li ul {
  display: none;
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 6px 0;
  background: var(--blue-dark);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .2);
}
#menu_desktop li:hover > ul { display: block; }
#menu_desktop li ul a { padding: 9px 14px; font-size: 14px; }

#menu_mobile { display: none; }

#slider1 {
  margin: 0;
  padding: 34px 16px;
  list-style: none;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, #005f95, #007bbe 65%, #1b9acf);
}
#slider1 li { display: block; max-width: 1160px; margin: 0 auto; }
#slider1 img { display: none; }
#slider1::before {
  content: "Download e assistenza";
  display: block;
  max-width: 1160px;
  margin: 0 auto;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

#content { padding: 38px 0 46px; }
#contenuto {
  padding: 34px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 3px 18px rgba(34, 49, 63, .12);
}

h1, h2 { color: var(--ink); }
h1 { margin: 0 0 12px; font-size: clamp(27px, 4vw, 38px); line-height: 1.2; }
h2 { margin: 0; padding: 12px 0; font-size: 24px; }
.blu { color: var(--blue-dark); }
.testo_centro { margin-bottom: 24px; color: var(--muted); }
.contenuto_pagina { overflow-x: auto; }
.contenuto_pagina > a:has(.box_servizi) { display: none; }
.box_servizi { display: none; }

table { width: 100%; border-collapse: separate; border-spacing: 0; }
td { padding: 13px 8px; vertical-align: middle; border-bottom: 1px solid #e4edf2; }
tr:first-child td { border-bottom: 2px solid #d8e9f2; }
tr:last-child td { border-bottom: 0; }
td img { max-height: 64px; object-fit: contain; }
td a { font-weight: 700; }

.download-code {
  width: fit-content;
  margin: 20px auto;
  padding: 10px 18px;
  color: var(--blue-dark);
  background: #e8f5fb;
  border: 1px solid #b9ddeb;
  border-radius: 6px;
  font: 700 28px/1 Consolas, "Courier New", monospace;
  letter-spacing: .16em;
}
.download-form { max-width: 520px; margin: 0 auto; }
.download-form label { display: block; margin-bottom: 7px; font-weight: 700; }
.download-form__fields { display: flex; gap: 10px; }
.download-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #aebfca;
  border-radius: 5px;
  font: inherit;
  text-transform: uppercase;
}
.pulsante_invio_form {
  padding: 10px 18px;
  color: #fff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font: 700 16px/1 Arial, Helvetica, sans-serif;
}
.pulsante_invio_form:hover { background: var(--blue-dark); }
.form-message { max-width: 520px; margin: 0 auto 20px; text-align: center; }
.form-message--error { color: #a51e1e; }
.form-message--success { color: #21633e; }

#footer { color: #fff; }
#piede {
  display: flex;
  gap: 28px;
  padding: 34px 0;
}
.box_footer { flex: 1; }
#footer a, #legale a { color: #d6f1ff; }
#footer .g-follow, #footer .fb-like, #footer script { display: none; }
.box_social { display: none; }

#legale {
  padding: 18px 16px;
  color: #dce7ee;
  background: #17364b;
  text-align: center;
  font-size: 13px;
}
.cleaner { clear: both; }

@media (max-width: 800px) {
  #testata { justify-content: center; min-height: 64px; }
  #menu_desktop { display: none; }
  #menu_mobile { display: none; }
  #content { padding: 20px 0; }
  #contenuto { width: min(100% - 20px, 1160px); padding: 22px 16px; }
  table { min-width: 650px; }
  .download-form__fields { display: block; }
  .download-form input, .pulsante_invio_form { width: 100%; margin-bottom: 10px; }
  #piede { display: block; padding: 26px 0; }
  .box_footer { margin-bottom: 22px; text-align: left; }
}
