:root {
  --bg: #050706;
  --bg2: #0b0f0c;
  --panel: #101511;
  --panel2: #151c16;
  --text: #f3f6f1;
  --muted: #aab3a7;
  --line: rgba(255, 255, 255, 0.12);
  --green: #8ac441;
  --green2: #67a931;
  --white: #fff;
  --black: #050505;
  --radius: 28px;
  --container: min(1180px, calc(100% - 40px));
  --font: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.45;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

main {
  overflow: hidden;
	background-color:#EEF1EC;
}

/* Header */

.header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(18px);
  transition: 0.25s;
}

.header.is-scrolled {
  top: 10px;
  background: rgba(5, 7, 6, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo,
.intro-logo {
  display: block;
  width: 180px;
  height: 42px;
  background: url("/assets/img/logo-elettricline.png") center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
}

.intro-logo-nero {
  display: block;
  width: 180px;
  height: 42px;
  background: url("/assets/img/logo-elettricline-nero.png") center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
}

.intro h2 {
	color:#0B1013;
  letter-spacing: 0px;
  margin: 0 0 45px;
  font-size: clamp(48px,5vw,78px);
  font-weight: 500;
  line-height: 1.02;
}

.brand-text {
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.desktop-nav a {
  font-size: 13px;
  color: #cfd8ca;
  transition: 0.2s;
}

.desktop-nav a:hover {
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #050505;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-panel {
  position: fixed;
  z-index: 49;
  top: 84px;
  left: 20px;
  right: 20px;
  background: #0c110d;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

.mobile-panel a {
  display: block;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.mobile-contact {
  color: var(--green) !important;
}

/* Hero

.hero {
  position: relative;
  min-height: 100svh;
  padding: 160px max(20px, calc((100vw - 1180px) / 2)) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(circle at 70% 35%, rgba(138, 196, 65, 0.18), transparent 28%),
    linear-gradient(145deg, #050706 0%, #0c120d 58%, #050706 100%);
} */

.hero {
  background: radial-gradient(circle at 76% 40%,#25351f 0,#0000 28%),linear-gradient(110deg,#0b1013 50%,#18201a);
  align-items: flex-start;
  min-height: 830px;
  padding: 190px 4vw 90px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 80%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.systems-lead {
  color: #59615d;
  max-width: 820px;
  margin: 0;
	margin-top: 30px;
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
	color: #a9b0ad;
}

.systems-heading .section-label {
  color: #68736b;
}

.systems-heading h2 {
	color:#0B1013;
  letter-spacing: 0px;
  margin: 0 0 30px;
  font-size: clamp(48px,5vw,78px);
  font-weight: 500;
  line-height: 2;
}

.systems-heading h2 em {
  color: var(--green);
  font-style: normal;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 142px);
  line-height: 1;
  letter-spacing: 0em;
  font-weight: 500;
}

.hero h1 em,
.statement h2 em,
.organization h2 em,
.systems h2 em {
  font-style: normal;
  color: var(--green);
}

.lead {
  max-width: 690px;
  color: #dce4d8;
  font-size: clamp(18px, 2.4vw, 26px);
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: 0.2s;
}

.button.primary {
  background: var(--green);
  color: #071006;
  border-color: var(--green);
}

.button.primary:hover {
  background: #a2df4d;
  transform: translateY(-1px);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button.light {
  background: #fff;
  color: #050505;
}

.button.small {
  padding: 10px 14px;
  font-size: 13px;
}

/* Hero visual 
.power-visual {
  perspective: 600px;
  opacity: .65;
  width: 42%;
  height: 530px;
  position: absolute;
  bottom: 100px;
  right: 2vw;
}*/

.power-visual {
  perspective:600px;
  opacity:.65;
  width:42%;
  height:530px;
  position:absolute;
  bottom:100px;
  right:2vw;
}
.power-visual>p {
  color:var(--green);
  font-size:28px;
  font-weight:700;
  position:absolute;
  top:0;
  right:3%
}
.power-visual small {
  color:#9eaaa2;
  letter-spacing:1px;
  font-size:8px;
  display:block
}

/* ================================
   SEZIONE IMMAGINE STRUTTURA
================================ */

.el-image-section {
  width: var(--container);
  margin: 0 auto;
  padding: 90px 0;
}

.el-image-wrapper {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.el-image-open {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.el-image-preview {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.el-image-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}


/* ================================
   LIGHTBOX
================================ */

.el-lightbox {
  position: fixed !important;
  z-index: 2147483647 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  display: block;
  background: rgba(0, 0, 0, 0.92);
}

.el-lightbox[hidden] {
  display: none !important;
}

.el-lightbox-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.el-lightbox-panel {
  position: fixed !important;
  z-index: 2 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  padding: 86px 24px 24px;
  box-sizing: border-box;
}


/* Pulsanti */

.el-lightbox-controls {
  position: fixed !important;
  z-index: 10 !important;
  top: 22px;
  right: 22px;
  display: flex;
  gap: 10px;
}

.el-lightbox-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.el-lightbox-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
}


/* Pannello scrollabile */

.el-lightbox-scroll {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Immagine all'apertura: intera e centrata */

.el-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


/* Stato zoomato: immagine grande e scrollabile */

.el-lightbox-scroll.is-zoomed {
  display: block;
}

.el-lightbox-image.is-zoomed {
  max-width: none;
  max-height: none;
}


/* Blocca lo scroll della pagina sotto */

body.el-lightbox-open {
  overflow: hidden !important;
}


/* Mobile */

@media (max-width: 720px) {
  .el-image-section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .el-image-wrapper {
    border-radius: 22px;
  }

  .el-image-hint {
    right: 12px;
    bottom: 12px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .el-lightbox-panel {
    padding: 76px 12px 16px;
  }

  .el-lightbox-controls {
    top: 16px;
    right: 16px;
  }

  .el-lightbox-controls button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
/*
.power-visual {
  position: relative;
  z-index: 1;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 40px 90px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.power-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 45% 36%, rgba(138, 196, 65, 0.2), transparent 24%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}*/

.rack {
  background: linear-gradient(90deg,#0a100c,#263326);
  border: 1px solid #4d5d50;
  width: 150px;
  height: 410px;
  padding: 20px 12px;
  position: absolute;
  transform: skewY(-8deg);
}

/*
.rack {
  position: absolute;
  left: 16%;
  right: 16%;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(90deg, #0e130f, #1b241c);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}*/


.rack span {
  background:repeating-linear-gradient(90deg,#141b16 0 8px,#313d33 9px 10px);
  border:1px solid #3c493e;
  height:60px;
  margin:7px 0;
  display:block
}

.rack span:after {
  content:"";
  background:var(--electric);
  border-radius:50%;
  width:4px;
  height:4px;
  margin:8px;
  display:block
}

.r1 {
  top: 70px;
  left: 10%
}

.r2 {
  top: 25px;
  left: 38%;
}

.r3 {
  top: 70px;
  left: 66%;
}

.energy-line {
  background: linear-gradient(90deg,transparent,var(--green),transparent);
  width: 100%;
  height: 2px;
  box-shadow: 0 0 16px var(--green);
  position: absolute;
  top: 65%;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    filter: blur(1px);
  }
}

.hero-foot {
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #879087;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

/* Sections 

.intro,
.capabilities,
.statement,
.organization,
.systems,
.company-details,
.legal-page {
  width: var(--container);
  margin: 0 auto;
  padding: 110px 0;
}*/

.intro, .stats, .capabilities, .statement, .organization, .systems, .contact, .company-details {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.systems {
  color: var(--ink);
  background: #eef1ec;
  padding: 130px 7vw 110px;
  position: relative;
}

.company-details {
  border-bottom: 1px solid var(--line);
  background: #0b1013;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 4vw;
  padding: 72px 4vw;
  display: grid;
}

.intro,
.capabilities,
.statement {
  padding:130px 7vw
}
.intro {
  background:var(--white);
  color:var(--ink);
  grid-template-columns:30% 70%;
  display:grid
}
.intro h2,
.section-heading h2 {
  letter-spacing:0em;
  margin:0 0 45px;
  font-size:clamp(48px,5vw,78px);
  font-weight:500;
  line-height:1.02
}
.intro>div>p {
  color:#59615d;
  max-width:680px;
  font-size:19px;
  line-height:1.7
}

/*.intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}*/

.intro-logo {
  width: 220px;
  height: 52px;
  margin-bottom: 28px;
}

.intro-logo-nero {
  width: 220px;
  height: 52px;
  margin-bottom: 28px;
}

.intro h2,
.section-heading h2,
.statement h2,
.organization h2,
.systems h2,
.contact h2,
.legal-page h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0em;
}

.intro p:not(.section-label),
.organization-copy p,
.systems-lead,
.legal-page p,
.legal-page li {
 
	
  font-size: 18px;
  max-width: 910px;
}
.organization-copy p {
color:#59615d;
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

/* Stats */
.el-stats-gallery {
  width: 100%;
  background: #050706;
  overflow: hidden;
}


.el-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.el-stat-gallery-block {
  display: grid;
  grid-template-rows: 185px 390px;
}

.el-stat-gallery-block:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

/* Blocco verde superiore */

.el-stat-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 24px;
  text-align: center;
  color: #ffffff;
  background: #4f8919;
}

.el-stat-number {
  font-family: Inter, Montserrat, system-ui, sans-serif;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.el-stat-number span {
  font-size: 0.36em;
  vertical-align: super;
  letter-spacing: -0.04em;
}

.el-stat-box p {
  max-width: 260px;
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.img-laser {
  height: 76px;
  width: auto;
  display: block;
}

/* Immagini */

.el-gallery-item {
  position: relative;
  margin: 0;
  min-height: 390px;
  overflow: hidden;
  background: #111111;
}

.el-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
}

/* Tablet */

@media (max-width: 1024px) {
  .el-stat-gallery-block {
    grid-template-rows: 165px 330px;
  }

  .el-stat-box {
    padding: 28px 18px;
  }

  .el-gallery-item,
  .el-gallery-item img {
    min-height: 330px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .el-stats-grid {
    grid-template-columns: 1fr;
  }

  .el-stat-gallery-block {
    grid-template-rows: auto auto;
    border-right: 0 !important;
  }

  .el-stat-gallery-block:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .el-stat-box {
    min-height: 145px;
    padding: 28px 20px;
  }

  .el-stat-number {
    font-size: 54px;
  }

  .el-gallery-item {
    min-height: 320px;
  }

  .el-gallery-item img {
    min-height: 320px;
  }
}

/* Mobile piccolo */

@media (max-width: 480px) {
  .el-stat-box {
    min-height: 130px;
  }

  .el-stat-box p {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .img-laser {
    height: 64px;
  }

  .el-gallery-item,
  .el-gallery-item img {
    min-height: 280px;
  }
}
/* Barra verde superiore */
/* 
.el-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #4f8919;
  min-height: 185px;
}

.el-stat-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 24px;
  text-align: center;
  color: #ffffff;
}

.el-stat-box:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.el-stat-number {
  font-family: Inter, Montserrat, system-ui, sans-serif;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #ffffff;
}

.el-stat-number span {
  font-size: 0.36em;
  vertical-align: super;
  letter-spacing: -0.04em;
}

.el-stat-box p {
  max-width: 260px;
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}
*/
/* Icona target */
/* 
.el-target-icon {
  position: relative;
  width: 128px;
  height: 72px;
  margin-bottom: 4px;
}

.el-target-line {
  position: absolute;
  left: 8px;
  top: 46px;
  width: 76px;
  height: 4px;
  background: #ffffff;
  border-radius: 999px;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.el-target-dot-small {
  position: absolute;
  left: 4px;
  top: 44px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 72px -24px 0 #ffffff;
}

.el-target-circle {
  position: absolute;
  right: 8px;
  top: 0;
  width: 70px;
  height: 70px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.el-target-circle::before,
.el-target-circle::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.el-target-circle::after {
  inset: 24px;
}

.el-target-circle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
*/
/* Galleria immagini */
/* 
.el-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 390px;
}

.el-gallery-item {
  position: relative;
  margin: 0;
  min-height: 390px;
  overflow: hidden;
  background: #111;
}

.el-gallery-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.el-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
}*/

/* Responsive tablet */

@media (max-width: 1024px) {
  .el-stats-row {
    min-height: 160px;
  }

  .el-stat-box {
    padding: 28px 18px;
  }

  .el-gallery-row {
    min-height: 330px;
  }

  .el-gallery-item,
  .el-gallery-item img {
    min-height: 330px;
  }
}

/* Responsive mobile */

@media (max-width: 767px) {
  .el-stats-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .el-stat-box {
    min-height: 145px;
    padding: 28px 20px;
  }

  .el-stat-box:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .el-stat-number {
    font-size: 54px;
  }

  .el-gallery-row {
    grid-template-columns: 1fr;
  }

  .el-gallery-item {
    min-height: 320px;
  }

  .el-gallery-item img {
    min-height: 320px;
  }

  .el-gallery-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* Mobile piccolo */

@media (max-width: 480px) {
  .el-stat-box {
    min-height: 130px;
  }

  .el-stat-box p {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .el-target-icon {
    transform: scale(0.86);
    margin-bottom: -4px;
  }

  .el-gallery-item,
  .el-gallery-item img {
    min-height: 280px;
  }
}

.stat-card {
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
}

.stat-heading {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.stat-heading strong {
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.stat-heading span {
  max-width: 160px;
  text-align: right;
  color: #e6efe1;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.stat-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(138, 196, 65, 0.2), transparent),
    linear-gradient(145deg, #101710, #253024);
}

.stat-image::after {
  content: "";
  position: absolute;
  inset: auto -20% -10% -20%;
  height: 55%;
  background: radial-gradient(ellipse, #111 0%, transparent 65%);
}

.stat-image-night {
  background:
    linear-gradient(135deg, rgba(138, 196, 65, 0.22), transparent),
    repeating-linear-gradient(90deg, #141d16 0 18px, #0c100d 18px 26px);
}

.stat-image-safety {
  background:
    radial-gradient(circle at 75% 40%, rgba(138, 196, 65, 0.28), transparent 22%),
    linear-gradient(135deg, #1f271f, #0b0e0c);
}

.stat-image-planning {
  background:
    linear-gradient(135deg, #172117, #111),
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(255, 255, 255, 0.05) 32px 33px);
}

.img-laser {
	 height: 76px;
  width: auto;
}

.el-stat-box .laser-target {
  margin: 0;
}
.el-stat-box .laser-target {
  width: 150px;
  height: 74px;
  margin: 0 0 14px;
}
.el-stat-box .laser-target {
  letter-spacing: 0;
  width: 74px;
  height: 74px;
  display: block;
  position: relative;
}
.el-stat-box strong {
  flex: 0 0 76px;
  justify-content: center;
  align-items: center;
  margin: 0;
  display: flex;
}
.el-stat-box strong {
  margin: 0 0 14px;
  line-height: 1;
}
.el-stat-box strong {
  letter-spacing: -4px;
  font-size: 68px;
}
.laser-target b::after {
  content: "";
  background: var(--white);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 15px var(--white);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -2px;
}

/* Headings */

.section-heading,
.systems-heading,
.organization-heading {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: 54px;
}

.organization-heading h2 {
	color:#0B1013;
  letter-spacing: 0px;
  margin: 0 0 28px;
  font-size: clamp(48px,5vw,78px);
  font-weight: 500;
  line-height: 1.02;
}

/* Capabilities */

.capabilities {
  background: #0B1013;
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cap-list article {
  min-height: 360px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  position: relative;
}

.cap-list article > span,
.system-group-head span {
  color: var(--green);
  letter-spacing: 1.5px;
  flex: none;
  font-size: 12px;

}

.cap-list h3 {
  font-size: 24px;
  margin: 38px 0 18px;
}

.cap-list p {
  color: #b9c3b5;
}

.cap-list b {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--green);
}

/* Statement */

.statement {
	background: #171e19;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}


.process-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--green);
  font-weight: 950;
}

.process-list h3 {
  font-size: 28px;
  margin: 0 0 10px;
}

.process-list p {
  margin: 0;
  color: #c3cbbf;
}

/* Organization */

.organization {
  background: #FFF;/*linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));*/
  border-radius: 0 0 48px 48px;
  padding: 70px;
/*  margin-top: 40px;*/
  border: 1px solid var(--line);
}

.org-chart {
  overflow-x: auto;
  background: #080b09;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 24px;
}

.org-example-title {
  text-align: center;
  color: #bfcabc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.org-row,
.construction-managers-row,
.site-managers-row,
.site-workers-row {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.org-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.org-row.functions {
  grid-template-columns: repeat(7, minmax(120px, 1fr));
}

.org-row.specialists,
.construction-managers-row,
.site-managers-row {
  grid-template-columns: repeat(5, 1fr);
}

.site-workers-row {
  grid-template-columns: repeat(10, minmax(88px, 1fr));
}

.org-top {
  display: flex;
  justify-content: center;
}

.org-role {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.org-role.lead {
  background: rgba(138, 196, 65, 0.12);
  border-color: rgba(138, 196, 65, 0.35);
}

.org-role.external {
  background: rgba(255, 255, 255, 0.025);
}

.org-role b {
  font-size: 24px;
  color: var(--green);
}

.org-role strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.construction-management {
  margin-top: 24px;
  border: 1px solid rgba(138, 196, 65, 0.24);
  border-radius: 24px;
  padding: 18px;
}

.construction-management-label {
  text-align: center;
  margin-bottom: 14px;
}

.construction-management-label span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.org-total {
  margin-top: 22px;
  border-radius: 24px;
  background: var(--green);
  color: #081006;
  text-align: center;
  padding: 18px;
}

.org-total-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.org-total strong {
  font-size: 44px;
}

.org-total span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Systems */

.systems-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

.system-group {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background:#111719; /*
	  linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)); */
}

.system-group-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.system-group h3 {
  margin: 0;
  font-size: 22px;
}

.system-group ul, .system-group-2 ul, .system-group-4 ul, .system-group-6 ul {
  grid-template-columns: repeat(4,minmax(0,1fr));
  column-gap: 24px;
  margin-top: 17px;
}
.system-group ul {
  /*grid-template-columns: repeat(2,minmax(0,1fr));*/
  column-gap: 28px;
  margin: 23px 0 0;
    margin-top: 23px;
  padding: 0;
  list-style: none;
  display: grid;
}

.system-group li::before {
  content: "";
  background: var(--green);
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 5px;
}

.system-group li {
  padding: 10px 0;
  font-size: 12px;
  line-height: 1.3;
}
.system-group li {
  color: #c5ccc7;
  border-top: 1px solid #ffffff21;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0 11px;
  font-size: 13px;
  line-height: 1.35;
  display: flex;
}
/*
.system-group li {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8d1c4;
}

.systems-footnote {
  color: var(--green);
  font-weight: 900;
  text-align: center;
  margin-top: 32px;
}*/
.systems-footnote {
  text-align: center;
  color: #68736b;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-top: 1px solid #cbd2c9;
  max-width: 1500px;
  margin: 33px auto 0;
  padding-top: 19px;
  font-size: 11px;
}
/* Contact */

.contact {
  margin-top: 70px;
  padding: 110px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(138, 196, 65, 0.22), transparent 30%),
    linear-gradient(180deg, #11190f, #070907);
}

.contact p:not(.eyebrow) {
  color: #cad3c6;
  font-size: 20px;
}

/* Company details */

.company-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.details-block,
.details-intro {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.details-block span {
  display: block;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
	letter-spacing: 2px;
  font-weight: 400;
  margin-bottom: 10px;
}

.details-block a {
  display: block;
  color: #dce6d8;
  margin: 0.3rem 0;
}

.details-intro p {
  color: #8f9992;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 20px 0 0;
  font-size: 10px;
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 42px;
  color: #9ea99b;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer a {
  color: #fff;
}

/* Legal pages */

.legal-page {
  max-width: 920px;
}

.legal-page h1 {
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 28px;
  margin: 34px 0 10px;
}

.legal-page code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15em 0.35em;
  border-radius: 6px;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 14, 11, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.cookie-copy p {
  margin: 0.3rem 0;
  color: #c5cec1;
}

.cookie-copy a {
  color: var(--green);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-preferences {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-preferences[hidden],
.cookie-banner[hidden],
.mobile-panel[hidden] {
  display: none !important;
}


/*  LINKEDIN  */
.header-linkedin {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: 0.2s ease;
}

.header-linkedin svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.header-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  transform: translateY(-1px);
}

.linkedin-big-button {
	margin-top: 70px;
	margin-left:auto;
	margin-right:auto;
  width: 80%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 32px;
  border-radius: 999px;
  background: #ffffff;
  color: #050505;
  text-decoration: none;
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0em;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.linkedin-big-button:hover {
  transform: translateY(-3px);
  background: #f5f5f5;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.linkedin-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  color: #0a66c2;
}

.linkedin-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.linkedin-button-text {
  display: inline-block;
}

.linkedin-arrow {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  transition: transform 0.25s ease;
}

.linkedin-big-button:hover .linkedin-arrow {
  transform: translate(3px, -3px);
}

/* Mobile */

@media (max-width: 720px) {
  .linkedin-big-button {
    min-height: auto;
    padding: 22px 20px;
    border-radius: 28px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .linkedin-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .linkedin-arrow {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* Responsive */

@media (max-width: 1050px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 128px;
  }

  .power-visual {
    opacity:.42;
    width:48%;
    right:-6%
  }

	.power-visual {
    opacity:.18;
    width:92%;
    height:420px;
    bottom:76px;
    right:-45%
  }
  .power-visual>p {
    display:none
  }
	
  .stats,
  .cap-list,
  .systems-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro,
  .section-heading,
  .statement,
  .systems-heading,
  .organization-heading {
    grid-template-columns: 1fr;
  }

  .company-details {
    grid-template-columns: 1fr 1fr;
  }

  .organization {
    
	  border-radius: 0 0 48px 48px;
  padding: 70px;
  }

  .org-chart {
    padding: 16px;
  }

  .org-row.functions,
  .site-workers-row {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    min-width: 620px;
  }

  .construction-managers-row,
  .site-managers-row {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    min-width: 640px;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    width: 145px;
    height: 34px;
  }

  .intro-logo {
    width: 180px;
    height: 44px;
  }
	
	.intro-logo-nero {
    width: 180px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100% - 28px);
  }

  .header {
    top: 10px;
    padding: 10px 12px;
  }

  .brand-logo {
  width: 150px;
  height: 36px;
}

  .brand-text {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 116px 14px 42px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .power-visual {
    min-height: 310px;
    border-radius: 28px;
  }

  .hero-foot {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    display: grid;
    font-size: 10px;
  }

  .intro,
  .capabilities,
  .statement,
  .organization,
  .systems,
  .company-details,
  .legal-page {
    padding: 72px 0;
  }

  .intro h2,
  .section-heading h2,
  .statement h2,
  .organization h2,
  .systems h2,
  .contact h2,
  .legal-page h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .stats,
  .cap-list,
  .systems-grid,
  .company-details {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 340px;
  }

  .cap-list {
    border-left: 0;
  }

  .cap-list article {
    border-left: 1px solid var(--line);
    min-height: 280px;
  }

  .process-list article {
    grid-template-columns: 44px 1fr;
  }

  .organization {
    width: calc(100% - 20px);
    padding: 24px;
  }

  .org-total-numbers {
    gap: 10px;
  }

  .org-total strong {
    font-size: 34px;
  }

  .footer {
    display: block;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button {
    width: auto;
  }

  .contact {
    padding: 84px 14px;
  }
}

@media (max-width: 460px) {
  .org-row.functions,
  .site-workers-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    min-width: 0;
  }

  .construction-managers-row,
  .site-managers-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    min-width: 0;
  }

  .org-row.three,
  .org-row.specialists {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button {
    width: 100%;
  }
}



/* =====================================================
   FIX MOBILE PADDING - 14/09/2026
   Garantisce almeno 20px di margine laterale su mobile.
===================================================== */

@media (max-width: 720px) {
  :root {
    --container: calc(100% - 40px);
  }

  .header {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    transform: none;
  }

  .mobile-panel {
    left: 20px;
    right: 20px;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro,
  .capabilities,
  .statement,
  .organization,
  .systems,
  .contact,
  .company-details,
  .legal-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .organization {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .el-image-section,
  .footer {
    width: calc(100% - 40px);
  }

  .linkedin-big-button {
    width: 100%;
  }

  .cookie-banner {
    left: 20px;
    right: 20px;
  }
}


/* ================================
   MOBILE - LISTE IMPIANTISTICA IN 2 COLONNE
================================ */

@media (max-width: 767px) {
  .system-group ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 14px !important;
    padding: 0 !important;
    margin: 22px 0 0 !important;
    list-style: none !important;
  }

  .system-group li {
    min-width: 0 !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    color: #c8d1c4 !important;
    overflow-wrap: anywhere !important;
  }
}


@media (max-width: 390px) {
  .system-group ul {
    grid-template-columns: 1fr !important;
  }

  .system-group li {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
}
