/* ============================================================
   GRUPPO COSOLA — Evoluzione, non rivoluzione
   Design system: 2 colori (antracite + giallo), Montserrat 300/800
   ============================================================ */

:root {
  --nero: #0b0b0d;
  --antracite: #151517;
  --carbone: #1d1d20;
  --giallo: #ffd400;
  --giallo-soft: rgba(255, 212, 0, 0.14);
  --bianco: #f5f5f2;
  --grigio: #9b9ba1;
  --linea: rgba(255, 255, 255, 0.09);
  --font: "Montserrat", sans-serif;
  --fast: 0.35s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grana fotografica sottile su tutto il sito */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--giallo); color: var(--nero); }

/* ---------- Cursore: standard di sistema ---------- */
.cursor-halo, .cursor-dot { display: none; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block; font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  padding: 0.85em 1.9em; border-radius: 999px;
  transition: background var(--fast), color var(--fast), border-color var(--fast), box-shadow var(--fast);
  will-change: transform;
}
.btn-solid { background: var(--giallo); color: var(--nero); }
.btn-solid:hover { box-shadow: 0 0 34px rgba(255, 212, 0, 0.45); }
.btn-ghost { border: 1px solid var(--linea); color: var(--bianco); }
.btn-ghost:hover { border-color: var(--giallo); color: var(--giallo); }
.btn-rete { border-color: rgba(255,212,0,0.5); }
#rete .band img { object-position: center 28%; }
.btn-big { padding: 1.05em 2.4em; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem; gap: 2rem;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
/* Variante a due livelli (home): logo grande sopra, menù sotto */
.site-header.two-tier {
  display: block;
  padding: 0.9rem 3rem 0;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.75), rgba(11, 11, 13, 0.25) 80%, transparent);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-header.two-tier .main-nav {
  justify-content: center; padding: 0.55rem 0 0.7rem; margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header.is-scrolled {
  background: rgba(11, 11, 13, 0.88); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linea); padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.site-header.two-tier.is-scrolled { padding-top: 0.5rem; padding-bottom: 0; }
.site-header.is-scrolled.two-tier .main-nav { padding: 0.35rem 0 0.5rem; margin-top: 0.3rem; }
.site-header:not(.two-tier) .brand-logo { height: 56px; }
.brand-logo { height: 84px; width: auto; transition: height 0.4s; }
.site-header.is-scrolled .brand-logo { height: 56px; }

/* Bottone verde assunzioni */
.btn-green { background: #35d073; color: var(--nero); }
.btn-green:hover { box-shadow: 0 0 34px rgba(53, 208, 115, 0.55); }

/* Numeri di telefono nell'header: verde sopra, fisso sotto */
.header-phones { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35; white-space: nowrap; }
.hp-verde { font-weight: 800; font-size: 0.92rem; color: #35d073; text-shadow: 0 0 14px rgba(53, 208, 115, 0.35); }
.hp-verde:hover { text-shadow: 0 0 20px rgba(53, 208, 115, 0.7); }
.hp-fisso { font-size: 0.74rem; color: var(--grigio); }
.hp-fisso:hover { color: var(--bianco); }
.nav-phones { display: none; }

/* ---------- Modale realizzazioni ---------- */
.prj-modal { position: fixed; inset: 0; z-index: 5000; display: none; }
.prj-modal.open {
  display: block; overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.prj-modal-backdrop { position: fixed; inset: 0; background: rgba(4, 4, 6, 0.88); backdrop-filter: blur(6px); }
.prj-modal-box {
  position: relative; width: min(980px, 94vw); margin: 4svh auto 6svh;
  background: var(--carbone); border: 1px solid var(--linea); border-radius: 10px;
}
.prj-close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11, 11, 13, 0.7); color: var(--bianco); font-size: 1rem;
  transition: background var(--fast), color var(--fast);
}
.prj-close:hover { background: var(--giallo); color: var(--nero); }
.prj-gallery { position: relative; aspect-ratio: 16 / 9; background: #000; }
.prj-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prj-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11, 11, 13, 0.65); color: var(--bianco); font-size: 1.5rem; line-height: 1;
  transition: background var(--fast), color var(--fast);
}
.prj-nav:hover { background: var(--giallo); color: var(--nero); }
.prj-prev { left: 1rem; }
.prj-next { right: 1rem; }
.prj-nav[hidden] { display: none; }
.prj-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.45rem; }
.prj-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,0.4); padding: 0; }
.prj-dots button.on { background: var(--giallo); }
.prj-body { padding: 2rem 2.4rem 2.4rem; }
.prj-status {
  display: none; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.18em;
  background: #35d073; color: #06070a; padding: 0.45em 1em; border-radius: 999px; margin-bottom: 0.9rem;
}
.prj-status.show { display: inline-block; }
.prj-body h3 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 1.7rem); }
.prj-tagline { color: var(--giallo); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin: 0.5rem 0 1.2rem; }
.prj-desc { color: var(--grigio); }
.prj-desc p { margin-bottom: 0.9rem; }
.prj-desc strong { color: var(--bianco); font-weight: 500; }

/* ---------- Settori (macro-aree) ---------- */
.settori-bands { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.6rem; }
.band {
  position: relative; display: block; height: clamp(150px, 22vh, 220px);
  overflow: hidden; border-radius: 6px; border: 1px solid var(--linea);
}
.band img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.55) brightness(0.5);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.band:hover img { filter: grayscale(0) brightness(0.75); transform: scale(1.04); }
.band-body {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 1.6rem;
  padding: 0 clamp(1.4rem, 6vw, 5rem);
  background: linear-gradient(to right, rgba(11,11,13,0.75), transparent 65%);
}
.band-body h3 {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem); letter-spacing: -0.01em;
}
.band-body p { color: #cfcfd3; font-size: clamp(0.78rem, 1.4vw, 0.95rem); max-width: 40ch; }
.band-arrow {
  margin-left: auto; font-size: 2rem; color: var(--giallo);
  transform: translateX(-8px); opacity: 0.6; transition: transform var(--fast), opacity var(--fast);
}
.band:hover .band-arrow { transform: translateX(0); opacity: 1; text-shadow: 0 0 20px rgba(255,212,0,0.8); }
@media (max-width: 760px) {
  .band-body { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.3rem; }
  .band-arrow { display: none; }
}

/* Pagine settore */
.sector-hero { position: relative; padding: 12rem 0 5rem; overflow: hidden; }
.sector-hero img.sector-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.sector-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,11,13,0.3), var(--nero) 94%); }
.sector-hero .container { position: relative; z-index: 2; }
.sector-title { font-weight: 800; text-transform: uppercase; line-height: 1; font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 1rem 0 1.4rem; }
.sector-title em { font-style: normal; color: var(--giallo); }
.sector-body { max-width: 60rem; }
.sector-body p { color: #c9c9cf; margin-bottom: 1.1rem; }
.sector-body strong { color: var(--bianco); font-weight: 500; }
.sector-body h2 { font-weight: 800; text-transform: uppercase; font-size: 1.2rem; margin: 2.2rem 0 0.9rem; color: var(--giallo); }
.sector-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.sector-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; border: 1px solid var(--linea); }
.sector-points { list-style: none; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.8rem; }
.sector-points li { display: flex; gap: 0.8rem; color: #c9c9cf; }
.sector-points li::before { content: "⚡"; }
.sector-points strong { color: var(--bianco); font-weight: 500; }
@media (max-width: 760px) { .sector-gallery { grid-template-columns: 1fr; } }

/* ---------- Partner ---------- */
.section-partners { padding-bottom: 5rem; }
.partners-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem;
}
.partner-logo img { height: 44px; width: auto; transition: transform var(--fast); }
.partner-logo:hover img { transform: scale(1.06); }
.partner-big img { height: 84px; }
.partner-una img { height: 64px; }
/* Riquadro per i loghi che si confondono con lo sfondo scuro */
.logo-box {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--linea);
  border-radius: 8px; padding: 0.6rem 1rem;
}
.logo-box-light { background: #f5f5f2; border-color: transparent; }
.logo-box img { height: 40px; }
.logo-box.partner-big img { height: 66px; }
.partner-small img { height: 28px; }
.tech-label {
  margin-top: 3.5rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em;
  color: var(--grigio); text-align: center;
}
.tech-row { margin-top: 1.6rem; }
.tech-row .partner-logo img { height: 34px; }
.tech-row .partner-logo img[alt="Innowatt"] { height: 40px; background: #fff; border-radius: 6px; padding: 4px 10px; }
.tech-row .partner-logo img[alt="Da.Co. Capital Invest"] { height: 56px; }
.partner-text small { display: block; font-size: 0.55rem; letter-spacing: 0.2em; color: var(--grigio); font-weight: 500; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-logo.partner-text {
  font-weight: 800; letter-spacing: 0.18em; font-size: 1rem; color: var(--grigio);
  border: 1px solid var(--linea); border-radius: 6px; padding: 0.6em 1.2em;
  transition: color var(--fast), border-color var(--fast);
}
.partner-logo.partner-text:hover { color: var(--bianco); border-color: var(--giallo); }
.main-nav { display: flex; gap: 1.7rem; }
.main-nav a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grigio); position: relative; padding: 0.3em 0; transition: color var(--fast);
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--giallo); transform: scaleX(0); transform-origin: right;
  transition: transform var(--fast) var(--ease);
}
.main-nav a:hover { color: var(--bianco); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-tel { font-size: 0.78rem; }
.nav-toggle { display: none; }

/* Selettore lingua */
.lang-switch { display: flex; align-items: center; gap: 0.35rem; color: var(--grigio); }
.lang {
  background: none; border: 0; cursor: pointer; padding: 0.3em 0.2em;
  font-family: var(--font); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--grigio); transition: color var(--fast);
}
.lang:hover { color: var(--bianco); }
.lang.is-active { color: var(--giallo); }
.lang-switch-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
  text-align: left; overflow: hidden; padding: 12rem 0 5.5rem;
}
.hero-content {
  position: relative; z-index: 5;
  width: min(1200px, 90vw); margin: 0 auto;
}
.hero-bg { position: absolute; inset: -4%; z-index: 1; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  will-change: transform;
}
/* Foto ben visibile: scurita solo in basso (leggibilità testo) + rilievo luce al mouse */
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top,
      rgba(11, 11, 13, 0.88) 0%,
      rgba(11, 11, 13, 0.52) 26%,
      rgba(11, 11, 13, 0.14) 52%,
      rgba(11, 11, 13, 0.30) 100%),
    radial-gradient(circle 430px at var(--mx, 50%) var(--my, 42%),
      rgba(11, 11, 13, 0) 0%,
      rgba(11, 11, 13, 0.16) 65%,
      rgba(11, 11, 13, 0.24) 100%);
}
.hero-glow {
  position: absolute; z-index: 3; width: 560px; height: 560px;
  left: 0; top: 0; pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 212, 0, 0.16) 0%, transparent 62%);
  mix-blend-mode: screen;
}
#energyCanvas {
  position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%;
  pointer-events: none; mix-blend-mode: screen;
}

.hero-overline {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em; color: var(--giallo);
  margin-bottom: 1.6rem; text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}
.hero-title-wrap { perspective: 900px; }
.hero-title {
  font-weight: 800; text-transform: uppercase; line-height: 0.98;
  letter-spacing: -0.015em; will-change: transform;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.hero-title .line { display: block; }
.line-1 { font-size: clamp(2.7rem, 7.8vw, 6.8rem); }
.line-2 {
  font-size: clamp(2rem, 5.6vw, 4.9rem);
  color: transparent; -webkit-text-stroke: 2px var(--bianco);
}
.line-2 .lit-word { color: var(--giallo); -webkit-text-stroke: 0; text-shadow: 0 0 42px rgba(255,212,0,0.55); }
.hero-title .char { display: inline-block; will-change: opacity, transform; }

.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem); color: #cfcfd2; max-width: 40rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.hero-cta { margin-top: 2.1rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-corner {
  position: absolute; z-index: 5; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.32em; color: rgba(245, 245, 242, 0.6);
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}
.c-tl { top: 11.5rem; left: 3rem; }
.c-tr { top: 11.5rem; right: 3rem; }

.scroll-hint {
  position: absolute; bottom: 2.8rem; right: 3rem; z-index: 5;
  font-size: 0.66rem; letter-spacing: 0.34em; color: var(--grigio);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.scroll-line { width: 1px; height: 44px; background: var(--linea); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--giallo); animation: scrollDrop 1.8s var(--ease) infinite;
}
@keyframes scrollDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  overflow: hidden; padding: 1.1rem 0; background: var(--antracite);
}
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.3em; color: var(--grigio);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cavo di energia ---------- */
main { position: relative; }
#energyCable {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none;
  overflow: visible;
}
.cable-base { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 2; }
.cable-glow {
  fill: none; stroke: var(--giallo); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(255, 212, 0, 1)) drop-shadow(0 0 26px rgba(255, 212, 0, 0.45));
}
/* Coda a cometa: tre strati sfumati */
.cable-tail-1 {
  fill: none; stroke: rgba(255, 212, 0, 0.35); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(255, 212, 0, 0.4));
}
.cable-tail-2 {
  fill: none; stroke: rgba(255, 224, 80, 0.75); stroke-width: 4.5; stroke-linecap: round;
  filter: drop-shadow(0 0 14px rgba(255, 212, 0, 0.8));
}
.cable-tail-3 {
  fill: none; stroke: #fffbe6; stroke-width: 6; stroke-linecap: round;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 40px rgba(255, 212, 0, 1));
}
.cable-node {
  fill: #232327; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.5;
  transition: fill 0.4s, stroke 0.4s;
}
.cable-node.node-on {
  fill: var(--giallo); stroke: rgba(255, 212, 0, 0.5);
  filter: drop-shadow(0 0 9px rgba(255, 212, 0, 0.9));
}
.cable-tip { fill: #fff; r: 8; filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 30px rgba(255, 212, 0, 1)); }
.cable-tip-halo { fill: rgba(255, 212, 0, 0.16); }

/* Le sezioni si accendono quando l'energia le raggiunge (solo in home) */
body.home main .section {
  filter: saturate(0.25) brightness(0.78);
  transition: filter 0.9s var(--ease);
}
body.home main .section.is-powered { animation: powerFlash 0.85s var(--ease) both; }
@keyframes powerFlash {
  0% { filter: saturate(0.25) brightness(0.78); }
  40% { filter: saturate(1.45) brightness(1.4); }
  100% { filter: saturate(1) brightness(1); }
}
html.reduced body.home main .section { filter: none; animation: none; }

/* ---------- Sezioni ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; z-index: 1; }
.container { width: min(1200px, 90vw); margin: 0 auto; }
.overline { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em; color: var(--giallo); margin-bottom: 1.2rem; }
.section-title {
  font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin-bottom: 2.2rem; max-width: 18ch;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: var(--giallo); margin-top: 1.1rem; border-radius: 2px;
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.5);
}
.section-intro { max-width: 52rem; color: var(--grigio); margin-bottom: 3rem; }

/* ---------- Chi siamo ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.split-text p { color: var(--grigio); margin-bottom: 1.2rem; }
.split-text strong { color: var(--bianco); font-weight: 500; }
.photo-frame {
  position: relative; overflow: hidden; border-radius: 4px;
}
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--linea); border-radius: 4px; pointer-events: none;
}
.photo-frame img { transition: transform 0.8s var(--ease), filter 0.8s var(--ease); filter: grayscale(0.35); }
.photo-frame:hover img { transform: scale(1.04); filter: grayscale(0); }
.photo-frame::before {
  content: ""; position: absolute; z-index: 1; inset: auto -20% -30% -20%; height: 55%;
  background: linear-gradient(to top, rgba(11,11,13,0.9), transparent);
  pointer-events: none;
}
.firma { height: 46px; width: auto; margin: 1.6rem auto 0; opacity: 0.85; filter: invert(1); }
.ceo-site-link {
  display: block; margin-top: 1rem; text-align: center;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--giallo); transition: text-shadow var(--fast);
}
.ceo-site-link:hover { text-shadow: 0 0 18px rgba(255, 212, 0, 0.7); }
.quote {
  border-left: 2px solid var(--giallo); padding-left: 1.4rem; margin: 0 0 1.6rem;
  font-size: 1.05rem; color: var(--bianco); font-style: italic;
}
.quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--giallo); }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.values li {
  border: 1px solid var(--linea); border-radius: 999px; padding: 0.5em 1.3em;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  transition: border-color var(--fast), color var(--fast), box-shadow var(--fast);
}
.values li:hover { border-color: var(--giallo); color: var(--giallo); box-shadow: 0 0 22px rgba(255,212,0,0.18); }
.profile-btn { margin-top: 1.8rem; }
.profile-block { margin-top: 1.8rem; }
.profile-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
/* i link del footer non devono sbiadire i pulsanti della presentazione */
.site-footer .profile-btns .btn-solid,
.site-footer .profile-btns .btn-solid:hover { color: var(--nero) !important; }
.site-footer .profile-btns .btn-ghost { color: var(--bianco) !important; }
.site-footer .profile-btns .btn-ghost:hover { color: var(--giallo) !important; }
.profile-note { font-size: 0.75rem !important; color: var(--grigio) !important; margin-top: 0.7rem; font-style: italic; }

/* ---------- Numeri ---------- */
.section-numbers { padding: 5rem 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: rgba(255, 255, 255, 0.03); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }

.fun-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem;
  margin-top: 3.5rem;
}
.fun {
  background: var(--carbone); border: 1px solid var(--linea); border-radius: 6px;
  padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.fun:hover { border-color: rgba(255, 212, 0, 0.45); box-shadow: 0 0 30px rgba(255, 212, 0, 0.1); }
.fun-value { font-weight: 800; font-size: 1.7rem; color: var(--giallo); line-height: 1; }
.fun-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.fun-note { font-size: 0.74rem; color: var(--grigio); }

.chart-wrap { margin-top: 3.5rem; }
.chart-title { font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 1.4rem; }
#growthChart { width: 100%; height: auto; display: block; }
#growthChart .bar { fill: var(--giallo); }
#growthChart .bar-current { fill: rgba(255, 212, 0, 0.35); }
#growthChart .bar-value { fill: var(--bianco); font-size: 11px; font-weight: 600; text-anchor: middle; font-family: var(--font); }
#growthChart .bar-year { fill: var(--grigio); font-size: 10px; text-anchor: middle; font-family: var(--font); }
#growthChart .axis { stroke: var(--linea); stroke-width: 1; }
.chart-note { margin-top: 1rem; font-size: 0.8rem; color: var(--grigio); }

/* Crescita in percentuale */
.growth-wrap { margin-top: 4rem; }
.growth-heads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0 2.5rem; text-align: center; }
.ghead-value {
  display: block; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: #35d073; line-height: 1; text-shadow: 0 0 26px rgba(53, 208, 115, 0.3);
}
.growth-heads-2 { grid-template-columns: repeat(2, 1fr); max-width: 56rem; margin-left: auto; margin-right: auto; }
.gv-giallo { color: var(--giallo); text-shadow: 0 0 26px rgba(255, 212, 0, 0.35); }
.growth-charts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.gchart-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grigio); margin-bottom: 0.8rem; }
.lineChart { width: 100%; height: auto; display: block; }
.lineChart .lc-line { stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 212, 0, 0.25)); }
.lineChart .lc-val { fill: var(--bianco); font-size: 13px; font-weight: 600; text-anchor: middle; font-family: var(--font); }
.lineChart .lc-year { fill: var(--grigio); font-size: 12px; text-anchor: middle; font-family: var(--font); }
.lineChart .axis { stroke: var(--linea); stroke-width: 1; }
@media (max-width: 860px) { .growth-heads, .growth-heads-2, .growth-charts { grid-template-columns: 1fr; } }

/* ---------- Mappa cantieri ---------- */
.map-split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.map-text p { color: var(--grigio); }
.map-legend { list-style: none; margin: 1.8rem 0 0; display: flex; flex-direction: column; gap: 0.9rem; }
.map-legend li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; }
.map-legend strong { font-weight: 800; font-size: 1.05rem; margin-left: auto; }
.legend-dot { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: inline-block; }
.legend-verde .legend-dot { background: #35d073; box-shadow: 0 0 12px rgba(53, 208, 115, 0.7); }
.legend-verde strong { color: #35d073; }
.legend-blu .legend-dot { background: #3aa0ff; box-shadow: 0 0 12px rgba(58, 160, 255, 0.5); }
.legend-blu strong { color: #3aa0ff; }
.map-note { font-size: 0.75rem !important; margin-top: 1.6rem; }
.map-stage { position: relative; }
.map-stage svg { width: 100%; height: auto; max-height: 78vh; display: block; }
.it-land path {
  fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.7;
}
.map-label {
  fill: rgba(245, 245, 242, 0.72); font-family: var(--font); font-size: 9.5px;
  font-weight: 500; letter-spacing: 0.06em;
}
.it-labels { opacity: 0; transition: opacity 0.8s ease 0.5s; }
.map-stage.labels-on .it-labels { opacity: 1; }
html.reduced .it-labels { opacity: 1; }
.drop path { stroke: rgba(0, 0, 0, 0.35); stroke-width: 0.6; }
.drop text { fill: #06070a; font-weight: 700; font-family: var(--font); }
.drop { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.drop.drop-in { opacity: 1; }
.drop-verde path { fill: #35d073; filter: drop-shadow(0 0 5px rgba(53, 208, 115, 0.8)); }
.drop-blu path { fill: #3aa0ff; filter: drop-shadow(0 0 4px rgba(58, 160, 255, 0.55)); }
.drop-verde.drop-in { animation: dropPulse 2.2s ease-in-out infinite; }
@keyframes dropPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.num-value {
  display: block; font-weight: 800; font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--giallo); line-height: 1;
}
.num-label { display: block; margin-top: 0.6rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grigio); }

/* ---------- Servizi ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.card {
  --cx: 50%; --cy: 50%;
  position: relative; background: var(--carbone); border: 1px solid var(--linea);
  border-radius: 6px; padding: 2.4rem 2rem; overflow: hidden;
  transition: border-color var(--fast), transform var(--fast) var(--ease), box-shadow var(--fast);
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle 220px at var(--cx) var(--cy), rgba(255, 212, 0, 0.13), transparent 70%);
  transition: opacity var(--fast); pointer-events: none;
}
.card:hover { border-color: rgba(255, 212, 0, 0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.5); }
.card:hover::before { opacity: 1; }
.card-icon { width: 46px; height: 46px; color: var(--giallo); margin-bottom: 1.4rem; }
.card-icon path, .card-icon circle, .card-icon rect { transition: stroke-dashoffset 0.9s var(--ease); }
.card h3 { font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.05em; line-height: 1.4; margin-bottom: 0.8rem; }
.card p { color: var(--grigio); font-size: 0.92rem; }

/* ---------- Realizzazioni ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0 2.6rem; }
.filter {
  background: none; border: 1px solid var(--linea); color: var(--grigio); cursor: pointer;
  font-family: var(--font); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; border-radius: 999px; padding: 0.6em 1.5em;
  transition: all var(--fast);
}
.filter:hover { color: var(--bianco); border-color: var(--bianco); }
.filter.is-active { background: var(--giallo); border-color: var(--giallo); color: var(--nero); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project {
  position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3;
  border: 1px solid var(--linea); cursor: pointer;
}
.project img {
  width: 100%; height: 116%; margin-top: -8%; object-fit: cover;
  filter: grayscale(0.5) brightness(0.85);
  transition: scale 0.7s var(--ease), filter 0.7s var(--ease);
}
.project:hover img { scale: 1.07; filter: grayscale(0) brightness(1); }
.project-info {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1.1rem 0.9rem;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.95) 45%, transparent);
}
.project-tag {
  display: block; font-size: 0.56rem; font-weight: 500; letter-spacing: 0.16em; color: var(--giallo);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.project-info h3 {
  font-weight: 800; text-transform: uppercase; font-size: 0.88rem; line-height: 1.25; margin-top: 0.25rem;
}
.project-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: #35d073; color: #06070a; font-weight: 800; font-size: 0.62rem;
  letter-spacing: 0.18em; padding: 0.45em 1em; border-radius: 999px;
  box-shadow: 0 0 18px rgba(53, 208, 115, 0.6);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(53, 208, 115, 0.5); }
  50% { box-shadow: 0 0 26px rgba(53, 208, 115, 0.9); }
}
.project.is-hidden { display: none; }

/* ---------- Team ---------- */
.team-group { display: flex; justify-content: center; margin-bottom: 3rem; }
.member { text-align: center; display: block; }
.member img {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem;
  outline: 2px solid transparent; outline-offset: 4px;
  transition: outline-color var(--fast), transform var(--fast) var(--ease), box-shadow var(--fast);
  filter: grayscale(0.5);
}
.member img.is-logo { filter: none; background: #fff; }
.member:hover img {
  outline-color: var(--giallo); transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 212, 0, 0.16); filter: grayscale(0);
}
.member h3 { font-weight: 800; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; }
.member span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grigio); }
.member-ceo img { width: 180px; height: 180px; outline-color: var(--giallo); filter: grayscale(0); object-position: top; }
.member-ceo h3 { font-size: 1.15rem; }
.member-ceo { cursor: pointer; }
.ceo-badge {
  display: block; margin-top: 0.4rem; font-size: 0.68rem !important;
  color: var(--giallo) !important; letter-spacing: 0.12em;
  opacity: 0; transform: translateY(4px); transition: opacity var(--fast), transform var(--fast);
}
.member-ceo:hover .ceo-badge { opacity: 1; transform: translateY(0); }
.team-cta { text-align: center; margin-top: 4rem; }
.team-cta p { color: var(--grigio); margin-bottom: 1.2rem; }
.team-label {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--giallo); margin: 3rem 0 1.6rem; display: flex; align-items: center; gap: 1rem;
}
.team-label::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.2rem 1.8rem;
}
.team-grid .member { width: 170px; }
.team-label { justify-content: center; text-align: center; }
.team-label::before { content: ""; flex: 1; height: 1px; background: var(--linea); }

/* ---------- Certificazioni ---------- */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.cert {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: var(--carbone); border: 1px solid var(--linea); border-radius: 6px; padding: 1.8rem;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.cert:hover { border-color: rgba(255, 212, 0, 0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.5); }
.cert img { width: 84px; border-radius: 3px; }
.cert h3 { font-weight: 800; text-transform: uppercase; font-size: 0.95rem; margin-bottom: 0.6rem; }
.cert p { color: var(--grigio); font-size: 0.88rem; }
.cert p strong { color: var(--bianco); font-weight: 500; }
.cert-dl {
  display: inline-block; margin-top: 1rem; font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--giallo);
  border: 1px solid rgba(255, 212, 0, 0.4); border-radius: 999px; padding: 0.5em 1.2em;
  transition: background var(--fast), color var(--fast), box-shadow var(--fast);
}
.cert-dl:hover { background: var(--giallo); color: var(--nero); box-shadow: 0 0 24px rgba(255, 212, 0, 0.4); }

/* ---------- Assistenza ---------- */
.section-assist { background: rgba(255, 255, 255, 0.03); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.assist-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
.assist-text p { color: var(--grigio); }
.green-number {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center;
  border: 1px solid rgba(255, 212, 0, 0.4); border-radius: 10px; padding: 2.6rem 2rem;
  transition: box-shadow var(--fast), border-color var(--fast); will-change: transform;
}
.green-number:hover { border-color: var(--giallo); box-shadow: 0 0 60px rgba(255, 212, 0, 0.2); }
.gn-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.3em; color: var(--grigio); }
.gn-number { font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); color: #35d073; line-height: 1; text-shadow: 0 0 30px rgba(53, 208, 115, 0.4); }
.green-number { border-color: rgba(53, 208, 115, 0.4); }
.green-number:hover { border-color: #35d073; box-shadow: 0 0 60px rgba(53, 208, 115, 0.25); }

/* ---------- Contatti ---------- */
.contact-list { list-style: none; margin: 2rem 0; }
.contact-list li { display: flex; gap: 1.4rem; padding: 0.9rem 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.contact-list span { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.26em; color: var(--giallo); min-width: 110px; }
.contact-list a { color: var(--bianco); transition: color var(--fast); }
.contact-list a:hover { color: var(--giallo); }
.maps-btn {
  display: inline-block; margin-left: 1rem; font-size: 0.72rem !important; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--giallo) !important;
  border: 1px solid rgba(255, 212, 0, 0.4); border-radius: 999px; padding: 0.35em 1em;
  transition: background var(--fast), color var(--fast);
}
.maps-btn:hover { background: var(--giallo); color: var(--nero) !important; }
.socials { display: flex; gap: 1rem; margin-top: 2rem; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 50%;
  display: grid; place-items: center; color: var(--grigio);
  transition: all var(--fast);
}
.socials svg { width: 20px; height: 20px; }
.socials a:hover { color: var(--nero); background: var(--giallo); border-color: var(--giallo); }

.contact-form { background: var(--carbone); border: 1px solid var(--linea); border-radius: 8px; padding: 2.4rem; }
.contact-form label {
  display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--grigio); margin-bottom: 1.4rem;
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 0.5rem;
  background: var(--nero); border: 1px solid var(--linea); border-radius: 4px;
  color: var(--bianco); font-family: var(--font); font-size: 0.95rem; padding: 0.8em 1em;
  transition: border-color var(--fast), box-shadow var(--fast); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--giallo); box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.12);
}
.privacy-note { font-size: 0.72rem; color: var(--grigio); margin-bottom: 1.4rem; }
.contact-form .btn { border: 0; cursor: pointer; font-family: var(--font); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 56rem; margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--linea); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--bianco); font-family: var(--font); font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem); padding: 1.3rem 0;
  transition: color var(--fast);
}
.faq-q::after {
  content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--linea); display: grid; place-items: center;
  color: var(--giallo); font-size: 1.2rem; font-weight: 300;
  transition: transform 0.35s var(--ease), background var(--fast), color var(--fast);
}
.faq-item.open .faq-q { color: var(--giallo); }
.faq-item.open .faq-q::after { transform: rotate(45deg); background: var(--giallo); color: var(--nero); }
.faq-a {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden; color: var(--grigio); padding-right: 3rem;
}
.faq-item.open .faq-a > p { padding-bottom: 1.3rem; }

/* ---------- Pulsante WhatsApp ---------- */
.wa-btn {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: transform var(--fast), box-shadow var(--fast);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }
.wa-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 34px rgba(37, 211, 102, 0.55); animation: none; }
@keyframes waPulse {
  0% { box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 760px) { .wa-btn { width: 54px; height: 54px; right: 1rem; bottom: 1rem; } .wa-btn svg { width: 28px; height: 28px; } }

/* ---------- Freccia torna alla home ---------- */
.back-home {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 500;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--giallo); color: var(--nero); display: grid; place-items: center;
  font-size: 1.5rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: box-shadow var(--fast), transform var(--fast);
}
.back-home:hover { box-shadow: 0 0 34px rgba(255, 212, 0, 0.6); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--linea); padding: 4rem 0 2rem; background: var(--antracite); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1.2rem; }
.site-footer p { color: var(--grigio); font-size: 0.85rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-grid nav a, .footer-grid div > a { color: var(--grigio); font-size: 0.85rem; transition: color var(--fast); }
.footer-grid nav a:hover, .footer-grid div > a:hover { color: var(--giallo); }
.footer-label { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.28em; color: var(--giallo); margin: 1rem 0 0.3rem; }
.footer-green { font-weight: 800; font-size: 1.5rem; color: #35d073 !important; }
.footer-bottom {
  text-align: center; margin-top: 3.5rem; padding-top: 1.6rem;
  border-top: 1px solid var(--linea); font-size: 0.75rem; color: var(--grigio);
  width: min(1200px, 90vw); margin-left: auto; margin-right: auto;
}

/* ---------- Reveal base ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
html.no-js [data-reveal], html.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1680px) {
  .header-right .btn-solid { display: none; }
}
@media (max-width: 1460px) {
  .site-header { padding-left: 1.6rem; padding-right: 1.6rem; }
  .site-header.is-scrolled { padding-left: 1.6rem; padding-right: 1.6rem; }
  .main-nav { gap: 1.2rem; }
  .main-nav a { font-size: 0.72rem; letter-spacing: 0.09em; }
  .brand-logo { height: 60px; }
  .site-header.is-scrolled .brand-logo { height: 48px; }
  .btn-green, .btn-rete { font-size: 0.74rem; padding: 0.75em 1.4em; }
  .header-right { gap: 0.8rem; }
  .hp-verde { font-size: 0.82rem; }
  .hp-fisso { font-size: 0.68rem; }
}
@media (max-width: 1024px) {
  .services-grid, .projects-grid, .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .assist-wrap, .map-split { grid-template-columns: 1fr; }
  .split-media { max-width: 420px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .fun-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header { padding: 1rem 1.4rem; }
  .site-header.is-scrolled { padding: 0.7rem 1.4rem; }
  .main-nav {
    position: fixed; inset: 0; background: #060608;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
    z-index: 150;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.05rem; }
  .header-phones, .header-right .btn-solid, .header-right .btn-green, .header-right .btn-rete, .header-right > .lang-switch { display: none; }
  .lang-switch-mobile { display: flex; }
  .lang-switch-mobile .lang { font-size: 1rem; }
  .brand-logo { height: 52px; }
  .site-header.is-scrolled .brand-logo { height: 44px; }
  .nav-phones {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    margin-top: 0.6rem; text-align: center;
  }
  .nav-phones .hp-verde { font-size: 1.25rem; }
  .nav-phones .hp-fisso { font-size: 0.95rem; }
  .scroll-hint { right: 1.4rem; }
  .hero { padding-bottom: 4.5rem; }
  .prj-body { padding: 1.4rem 1.2rem 1.8rem; }
  .fun-value { font-size: 1.5rem; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0;
    cursor: pointer; padding: 6px; z-index: 200; position: relative;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--bianco); transition: transform 0.3s, opacity 0.3s; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-corner { display: none; }
  .services-grid, .projects-grid, .certs-grid, .fun-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Riduzione movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-line::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
