:root {
  --sfondo: #070b14;
  --superficie: #0b1222;
  --superficie-2: #0a1630;
  --testo: #e8eefc;
  --testo-secondario: #a8b3cf;
  --bordo: rgba(232, 238, 252, 0.12);

  --primario: #0045ae;
  --primario-scuro: #00378b;
  --accento: #1a58b6;

  --ombra: 0 16px 42px rgba(0, 0, 0, 0.42);
  --raggio: 18px;

  --larghezza-contenitore: 1180px;
  --spazio-laterale: 20px;

  --font-principale: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================
   Base
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

section[id] {
  scroll-margin-top: 88px;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  padding-top: 25px;
  color: var(--testo);
  font-family: var(--font-principale);
  line-height: 1.55;
  background-color: var(--sfondo);
  background-image:
    radial-gradient(
      1200px 700px at 18% 0%,
      rgba(47, 107, 255, 0.22) 0%,
      rgba(47, 107, 255, 0.12) 38%,
      rgba(47, 107, 255, 0.06) 58%,
      rgba(47, 107, 255, 0) 82%
    ),
    radial-gradient(
      1000px 700px at 88% 18%,
      rgba(34, 211, 238, 0.12) 0%,
      rgba(34, 211, 238, 0.06) 45%,
      rgba(34, 211, 238, 0) 82%
    );
  background-repeat: no-repeat;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: rgba(232, 238, 252, 0.96);
}

hr {
  border: 0;
  border-top: 1px solid rgba(232, 238, 252, 0.12);
  margin: 26px 0;
}

.testata-sito,
main,
.piè-di-pagina {
  position: relative;
  z-index: 1;
}

.contenitore {
  width: min(
    var(--larghezza-contenitore),
    calc(100% - (var(--spazio-laterale) * 2))
  );
  margin: 0 auto;
}

.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.spazio-alto {
  margin-top: 24px;
}

.pagina-conferma {
  max-width: 760px;
  text-align: center;
}

.pagina-legale {
  max-width: 900px;
}

.nota-aggiornamento {
  margin-top: 3rem;
  opacity: 0.7;
}

/* =========================================================
   Header
   ========================================================= */
.testata-sito {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(232, 238, 252, 0.08);
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.testata-interna {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 88px;
  padding: 0;
}

.logo-marchio {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

.marchio {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-footer {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.marchio-footer {
  margin-bottom: 16px;
}

.logo-footer,
.marchio-footer .logo-marchio {
  height: 44px;
  width: auto;
  display: block;
}

.menu-principale,
.azioni-testata,
.azioni-hero,
.destra-footer {
  display: flex;
  align-items: center;
}

.menu-principale {
  gap: 14px;
}

.azioni-testata,
.azioni-hero,
.destra-footer {
  gap: 10px;
}

.link-menu,
.link-menu-mobile,
.link-footer {
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.link-menu {
  padding: 8px 25px;
  border-radius: 12px;
  color: rgba(168, 179, 207, 0.92);
  font-size: 14px;
  font-weight: 750;
}

.link-menu:hover,
.link-menu.attivo,
.link-menu-mobile.attivo {
  color: var(--testo);
  background: rgba(47, 107, 255, 0.1);
}

.link-menu:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.03);
}

.link-menu.attivo,
.link-menu-mobile.attivo {
  border: 1px solid rgba(47, 107, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* =========================================================
   Menu mobile
   ========================================================= */
.bottone-menu {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.bottone-menu:hover {
  border-color: rgba(232, 238, 252, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.bottone-menu:active {
  transform: scale(0.98);
}

.icona-menu {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.riga-menu {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--testo);
  transition:
    top 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.riga-menu-alta {
  top: 0;
}

.riga-menu-centro {
  top: 6px;
}

.riga-menu-bassa {
  top: 12px;
}

.bottone-menu.aperto .riga-menu-alta {
  top: 6px;
  transform: rotate(45deg);
}

.bottone-menu.aperto .riga-menu-centro {
  opacity: 0;
}

.bottone-menu.aperto .riga-menu-bassa {
  top: 6px;
  transform: rotate(-45deg);
}

.menu-mobile-tendina {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid rgba(232, 238, 252, 0.06);
  background: rgba(6, 11, 22, 0.96);
  transition:
    max-height 0.32s ease,
    opacity 0.25s ease;
}

.menu-mobile-tendina.aperto {
  max-height: 420px;
  opacity: 1;
}

.contenuto-menu-mobile {
  padding: 14px 0 18px;
}

.navigazione-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-menu-mobile {
  display: block;
  padding: 14px 12px;
  border: 1px solid rgba(232, 238, 252, 0.06);
  border-radius: 12px;
  color: var(--testo);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.02);
}

.link-menu-mobile:hover {
  border-color: rgba(232, 238, 252, 0.12);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.azioni-menu-mobile {
  margin-top: 14px;
}

/* =========================================================
   Pulsanti e form
   ========================================================= */
.pulsante {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--bordo);
  border-radius: 999px;
  color: var(--testo);
  font-size: 14px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    filter 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.pulsante:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.pulsante:active {
  transform: translateY(0);
}

.pulsante-primario {
  border-color: rgba(47, 107, 255, 0.55);
  background: linear-gradient(135deg, var(--primario), var(--primario-scuro));
  box-shadow: 0 12px 26px rgba(47, 107, 255, 0.16);
}

.pulsante-primario:hover {
  box-shadow: 0 16px 32px rgba(47, 107, 255, 0.24);
}

.pulsante-secondario {
  background: rgba(255, 255, 255, 0.02);
}

.pulsante-grande {
  padding: 12px 18px;
}

.pulsante-largo {
  width: 100%;
  text-align: center;
}

.campo-input {
  padding: 10px 12px;
  border: 1px solid var(--bordo);
  border-radius: 14px;
  color: var(--testo);
  outline: none;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.campo-input:focus {
  border-color: rgba(47, 107, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.campo-input::placeholder {
  color: rgba(168, 179, 207, 0.75);
}

.campo-pieno {
  width: 100%;
}

textarea.campo-input {
  resize: vertical;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 28px;
  background: linear-gradient(
    180deg,
    rgba(6, 18, 40, 0.35) 0%,
    rgba(7, 11, 20, 0) 100%
  );
}

.sfondo-hero {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 16, 36, 0.88) 0%,
      rgba(8, 24, 52, 0.72) 45%,
      rgba(7, 11, 20, 0) 100%
    ),
    radial-gradient(
      900px 420px at 75% 45%,
      rgba(47, 107, 255, 0.18),
      rgba(47, 107, 255, 0) 70%
    ),
    radial-gradient(
      700px 360px at 85% 55%,
      rgba(34, 211, 238, 0.1),
      rgba(34, 211, 238, 0) 72%
    );
}

.griglia-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.occhiello {
  margin: 0 0 14px;
  color: rgba(168, 179, 207, 0.92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.titolo-hero {
  margin: 0 0 14px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.9px;
}

.testo-intro-hero {
  max-width: 72ch;
  margin: 0 0 18px;
  color: rgba(232, 238, 252, 0.84);
  font-size: 16px;
}

.azioni-hero {
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.punti-forza {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.elemento-punto-forza {
  min-width: 170px;
  padding: 12px 14px;
  border: 1px solid rgba(232, 238, 252, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.elemento-punto-forza:hover {
  border-color: rgba(47, 107, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

.titolo-punto-forza {
  font-weight: 950;
  letter-spacing: 0.2px;
}

.sotto-punto-forza {
  margin-top: 4px;
  color: var(--testo-secondario);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.riquadro-evidenza {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: 16px;
  background: rgba(47, 107, 255, 0.07);
}

.contenitore-immagine-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 420px;
}

.alone-immagine-hero {
  position: absolute;
  inset: -30% -20%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
  filter: blur(18px);
  background:
    radial-gradient(
      600px 420px at 70% 50%,
      rgba(47, 107, 255, 0.22),
      rgba(47, 107, 255, 0) 65%
    ),
    radial-gradient(
      520px 380px at 55% 60%,
      rgba(34, 211, 238, 0.12),
      rgba(34, 211, 238, 0) 70%
    );
}

.immagine-hero {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  height: auto;
  opacity: 0.96;
  pointer-events: none;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.55));
}

.divisore-hero {
  height: 1px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(232, 238, 252, 0),
    rgba(232, 238, 252, 0.12),
    rgba(232, 238, 252, 0)
  );
}

/* =========================================================
   Sezioni e layout
   ========================================================= */
.sezione {
  padding: 72px 0;
}

.testa-sezione {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.titolo-sezione {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.sottotitolo-sezione {
  margin: 8px 0 0;
  color: var(--testo-secondario);
  font-size: 13px;
  font-weight: 750;
}

.testo-secondario {
  color: var(--testo-secondario);
  font-size: medium;
}

.griglia-due-colonne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.griglia-servizi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

/* =========================================================
   Schede
   ========================================================= */
.scheda,
.servizio,
.scheda-mappa {
  border: 1px solid rgba(232, 238, 252, 0.1);
  border-radius: var(--raggio);
  background: rgba(255, 255, 255, 0.03);
}

.scheda {
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.scheda-morbida {
  background: rgba(11, 18, 34, 0.52);
  box-shadow: none;
}

.scheda-elevabile:hover {
  border-color: rgba(232, 238, 252, 0.14);
  background: rgba(11, 18, 34, 0.56);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transform: none;
}
.scheda-processo.scheda-elevabile:hover {
  background: #0b1222;
  transform: none;
}

.scheda-processo.scheda-elevabile:hover .media-scheda::before {
  opacity: 0.78;
}

.scheda-processo.scheda-elevabile:hover .media-scheda::after {
  background: rgba(7, 11, 20, 0.30);
}

/* Titoli schede */
.titolo-scheda {
  margin: 0;
  padding: 0;
  color: var(--testo);
  font-size: clamp(21px, 1.65vw, 27px);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.3px;
}

.titolo-scheda2 {
  margin: 0 0 8px;
  padding: 0;
  color: var(--testo);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: -0.2px;
}

/* =========================================================
   Card sinistra: testo + approccio end-to-end
   ========================================================= */
.scheda-about {
  min-height: 305px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.contenuto-about-principale {
  display: grid;
  gap: 18px;
}

.contenuto-about-principale .testo-secondario {
  max-width: 680px;
  margin: 0;
  padding: 0;
  color: var(--testo-secondario);
  font-size: clamp(15px, 1.12vw, 18px);
  line-height: 1.75;
}

.contenuto-about-approccio {
  padding-top: 24px;
  border-top: 1px solid rgba(232, 238, 252, 0.1);
}

.contenuto-about-approccio .testo-scheda {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.6;
}

.contenuto-about-approccio .etichette {
  margin-top: 16px;
}

/* =========================================================
   Card destra: solo immagine
   ========================================================= */
/* =========================================================
   Card destra: immagine con sfondo esteso dalla stessa foto
   ========================================================= */
.scheda-processo {
  min-height: 305px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  position: relative;
  background: #0b1222;
}

.scheda-processo .media-scheda {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 305px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 0;
  border-radius: inherit;
  background: #0b1222;
}

/* Sfondo copiato dalla stessa immagine */
.scheda-processo .media-scheda::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-image: url("card-end2end.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(22px);
  transform: scale(1.08);
  opacity: 0.72;
}

/* Velo scuro per uniformare lo sfondo copiato */
.scheda-processo .media-scheda::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(7, 11, 20, 0.34);
}

/* Immagine reale: dimensioni originali */
.scheda-processo .immagine-card-processo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
}
/* Testi schede generici */
.testo-scheda {
  margin: 0;
  color: rgba(232, 238, 252, 0.82);
  font-size: 13px;
}

.etichette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.etichetta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(232, 238, 252, 0.1);
  border-radius: 999px;
  color: rgba(232, 238, 252, 0.86);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.etichetta:hover {
  border-color: rgba(47, 107, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.punto-etichetta {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 12px currentColor;
}

.punto-affidabilita {
  color: #38bdf8;
  background: #38bdf8;
}

.punto-conformita {
  color: #05fa3a;
  background: #05fa3a;
}

.punto-performance {
  color: #fa0505;
  background: #fa0505;
}

/* =========================================================
   Servizi
   ========================================================= */
.servizio {
  padding: 24px 22px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.servizio-evidenza {
  border-color: rgba(47, 107, 255, 0.3);
  background: linear-gradient(160deg, rgba(47, 107, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.tagline-servizio {
  font-style: italic;
  font-size: 13px;
  color: rgba(232, 238, 252, 0.65);
  margin: 2px 0 8px;
}

.icona-servizio-evidenza {
  border-color: rgba(47, 107, 255, 0.5);
  background: rgba(47, 107, 255, 0.18);
}

.servizio:hover {
  border-color: rgba(47, 107, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.icona-servizio {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border: 1px solid rgba(47, 107, 255, 0.26);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 950;
  background: rgba(47, 107, 255, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.icona-servizio img{
  width: 32px;
  height: 32px;
  display: block;
}

.servizio:hover .icona-servizio {
  box-shadow: 0 10px 18px rgba(47, 107, 255, 0.18);
  transform: scale(1.04);
}

.servizio h3 {
  margin: 0 0 6px;
}

.servizio p {
  margin: 6px 0;
}

/* =========================================================
   Globo
   ========================================================= */
.scheda-mappa {
  max-width: 900px;
  min-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testa-mappa {
  padding: 14px;
  border-bottom: 1px solid rgba(232, 238, 252, 0.08);
  background: rgba(11, 18, 34, 0.55);
}

.titolo-mappa {
  margin: 0;
}

#globo-3d {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
  overflow: hidden;
  background: #020611;
}

.globe-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.flight-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 520px;
  overflow: visible;
}

.flight-path {
  fill: none;
  stroke: rgba(0, 255, 179, 0.708);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.85));
}

.city-label {
  position: absolute;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  background: rgba(2, 6, 17, 0.86);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.city-label-home {
  border-color: rgba(255, 255, 255, 0.34);
  background: #0045ae;
  box-shadow: 0 0 18px rgba(0, 69, 174, 0.75);
}

.airplane-marker {
  position: absolute;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(0, 220, 255, 0.95));
}

/* =========================================================
   Contatti
   ========================================================= */
.scheda-contatti-sola {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 40px;
}

.lista-contatti {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.lista-contatti-riga {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.elemento-contatto {
  flex: 1;
  min-width: 200px;
  padding: 16px 18px;
  border: 1px solid rgba(232, 238, 252, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.elemento-contatto:hover {
  border-color: rgba(47, 107, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.etichetta-contatto {
  color: rgba(168, 179, 207, 0.9);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.valore-contatto {
  display: inline-block;
  margin-top: 6px;
  font-weight: 900;
}

.form-contatti {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px;
}

.form-contatti h3 {
  margin: 0 0 18px;
}

.campo-form {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.campo-form span {
  color: rgba(232, 238, 252, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.stato-form {
  min-height: 20px;
  margin: 10px 0 0;
}

/* =========================================================
   Footer
   ========================================================= */
.piè-di-pagina {
  padding: 22px 0;
  border-top: 1px solid rgba(232, 238, 252, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.interno-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.link-footer {
  color: rgba(168, 179, 207, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.link-footer:hover {
  color: var(--testo);
}

/* =========================================================
   Animazioni
   ========================================================= */
.apparizione {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.apparizione.visibile {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 981px) {
  
  .immagine-hero {
    margin-right: -10px;
  }
}

@media (max-width: 980px) {
  .hero {
    padding: 46px 0 22px;
  }

  .griglia-hero,
  .griglia-due-colonne {
    grid-template-columns: 1fr;
  }

  .scheda-contatti-sola {
    padding: 24px 20px;
  }

  .contenitore-immagine-hero {
    min-height: 320px;
  }

  .griglia-servizi {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 1024px) {
   html {
    scroll-padding-top: 72px;
  }

  section[id] {
    scroll-margin-top: 72px;
  }
  
  body {
    padding-top: 18px;
  }

  .menu-principale,
  .azioni-testata {
    display: none;
  }

  .bottone-menu {
    display: inline-flex;
  }

  .testa-sezione {
    flex-direction: column;
    align-items: stretch;
  }

  .griglia-servizi {
    grid-template-columns: 1fr;
  }

  .interno-footer {
    flex-direction: column;
  }

  .destra-footer {
    flex-wrap: wrap;
  }
}
/* =========================================================
   Selettore lingua manuale IT / EN
   ========================================================= */
.selettore-lingua {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(232, 238, 252, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.bottone-lingua {
  min-width: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(168, 179, 207, 0.95);
  font-family: var(--font-principale);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.bottone-lingua:hover {
  color: var(--testo);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.bottone-lingua.attivo {
  color: var(--testo);
  background: linear-gradient(135deg, var(--primario), var(--primario-scuro));
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.18);
}

.selettore-lingua-mobile {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.selettore-lingua-pagina {
  width: fit-content;
  margin: 0 auto 28px;
}

@media (max-width: 1024px) {
  .testata-interna > .selettore-lingua {
    display: none;
  }
}