body {
  background: #0A0D0C;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: #CCFF00; color: #0A0D0C; }

.blueprint-grid {
  background-image:
    linear-gradient(rgba(204, 255, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* nav */
#gp-nav.scrolled { background: rgba(10,13,12,.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.06); }
.gp-navlink { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #a1a1aa; transition: color .3s; text-decoration: none; }
.gp-navlink:hover { color: #CCFF00; }
.gp-mnavlink { font-family: 'Syne', sans-serif; font-size: 18px; text-transform: uppercase; color: #e4e4e7; text-decoration: none; }
.gp-mnavlink:hover { color: #CCFF00; }

/* hero on-load */
.gp-mask { display: block; overflow: hidden; padding-bottom: 4px; }
.gp-mask > span { display: block; transform: translateY(115%); animation: gp-rise 1.1s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes gp-rise { to { transform: translateY(0); } }
.gp-fade { opacity: 0; transform: translateY(24px); animation: gp-fadein .9s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes gp-fadein { to { opacity: 1; transform: translateY(0); } }

/* scroll reveal */
.gp-reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.gp-reveal.gp-in { opacity: 1; transform: translateY(0); }

/* settori hover bar */
.gp-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #CCFF00; transform: scaleY(0); transform-origin: top; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.group:hover .gp-bar { transform: scaleY(1); }

/* marquee */
@keyframes gp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.animate-marquee { animation: gp-marquee 90s linear infinite; }
.marquee-paused:hover .animate-marquee { animation-play-state: paused; }

@keyframes gp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.pulse-dot { animation: gp-pulse 1.8s ease-in-out infinite; }

/* form */
.gp-input {
  width: 100%;
  background: rgba(10,13,12,.7);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
  transition: border-color .3s;
}
.gp-input::placeholder { color: #ffffff; }
.gp-input:focus { border-color: #CCFF00; outline: none; box-shadow: 0 0 0 1px rgba(204,255,0,.4); }
select.gp-input option { background: #121715; color: #fff; }

/* popup avviso privacy */
.gp-popup {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
}
.gp-popup[hidden] { display: none; }
.gp-popup-card {
  max-width: 24rem; width: 100%;
  background: #121715; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 28px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.6);
}

.font-display { font-family: 'Syne', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* consent banner */
.gp-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 60;
  background: rgba(18, 23, 21, .95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6);
  transform: translateY(80px);
  opacity: 0;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .5s;
}
@media (min-width: 640px) {
  .gp-consent { right: auto; max-width: 28rem; }
}
.gp-consent.gp-consent-in { transform: translateY(0); opacity: 1; }
.gp-consent-text { font-size: 12px; color: #d4d4d8; line-height: 1.6; margin: 0; }
.gp-consent-link { color: #CCFF00; text-decoration: underline; text-underline-offset: 2px; }
.gp-consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.gp-consent-accept {
  padding: 8px 20px; background: #CCFF00; color: #0A0D0C; font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  border: none; border-radius: 999px; cursor: pointer; transition: background .3s;
}
.gp-consent-accept:hover { background: #B3E600; }
.gp-consent-decline {
  padding: 8px 20px; background: transparent; color: #d4d4d8; font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; cursor: pointer; transition: all .3s;
}
.gp-consent-decline:hover { border-color: #CCFF00; color: #CCFF00; }
.gp-consent-manage {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: #ffffff; background: none; border: none;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.15);
  cursor: pointer; transition: color .3s;
}
.gp-consent-manage:hover { color: #CCFF00; text-decoration-color: rgba(204,255,0,.5); }

/* link LinkedIn footer */
.gp-linkedin {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: #ffffff; text-decoration: none;
  transition: color .3s;
}
.gp-linkedin:hover { color: #CCFF00; }
.gp-footer-center { flex: 1; display: flex; }
@media (min-width: 640px) {
  .gp-footer-center { justify-content: center; }
}

/* contenuto editor (Privacy / Politica del Sistema di Gestione) */
.gp-content h2 {
  font-family: 'Syne', sans-serif; font-size: 1.125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: -0.02em; color: #CCFF00;
  margin: 2.5rem 0 0.75rem; padding-left: 1.25rem; border-left: 2px solid rgba(204, 255, 0, .3);
}
.gp-content h2:first-child { margin-top: 0; }
.gp-content p { color: #a1a1aa; line-height: 1.75; margin: 0 0 1rem; font-size: .95rem; }
.gp-content ul { margin: 0.5rem 0 1.5rem; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.gp-content li { position: relative; padding-left: 1.25rem; color: #a1a1aa; line-height: 1.7; font-size: .95rem; }
.gp-content li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: rgba(204, 255, 0, .8); }
.gp-content ul ul { margin: 0.6rem 0 0; }
.gp-content ul ul li::before { width: 4px; height: 4px; background: transparent; border: 1px solid rgba(204, 255, 0, .5); }
.gp-content strong { color: #f4f4f5; font-weight: 600; }

/* classi Tailwind arbitrarie aggiunte dopo la build di main.css */
.bg-\[\#0C100E\]\/70 { background-color: rgba(12, 16, 14, .7); }
.border-white\/15 { border-color: rgba(255, 255, 255, .15); }

/* titolo hero: dimensione calcolata per non tagliare mai la parola più lunga
   ("INFRASTRUTTURALE" ≈ 17.5em) in nessuna lingua e nessuna larghezza */
.gp-hero-title { font-size: clamp(15px, 4.8vw, 72px); }

/* classi usate dalla sezione Servizi (assenti dalla build) */
.gap-x-14 { column-gap: 3.5rem; }
.items-baseline { align-items: baseline; }
.text-\[\#CCFF00\]\/70 { color: rgba(204, 255, 0, .7); }
.text-\[11px\] { font-size: 11px; }
