:root{
  --forest:#0B2F2A;
  --forest-dark:#071F1C;
  --forest-light:#11423B;

  --gold:#c89b3c;
  --white:#ffffff;
  --light:#f6f8fb;
  --gray:#6b7280;
  --text:#1f2937;

  --radius:24px;

  --shadow:
  0 10px 30px rgba(0,0,0,.08);

  --shadow-hover:
  0 20px 50px rgba(0,0,0,.15);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.7;
  overflow-x:hidden;
}

.container{
  width:min(1200px,92%);
  margin:auto;
}

/* ---------------- HEADER ---------------- */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;

  backdrop-filter:blur(14px);

  background:rgba(11,47,42,.82); /* FOREST */

  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  color:white;
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:2px;
}

.logo span{
  color:var(--gold);
}

nav{
  display:flex;
  gap:35px;
}

nav a{
  color:white;
  text-decoration:none;
  font-weight:500;
  position:relative;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;

  width:0;
  height:2px;

  background:var(--gold);
  transition:.3s;
}

nav a:hover::after{
  width:100%;
}

/* ---------------- HERO ---------------- */

.hero{
  position:relative;
  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  background:
  url("images/archive-bg.jpg");

  background-size:cover;
  background-position:center;
}

.overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    rgba(7,31,28,.88),
    rgba(11,47,42,.82)
  ); /* FOREST GRADIENT */
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:950px;
  padding:20px;
  color:white;
}

.hero h1{
  font-size:clamp(3rem,8vw,6rem);
  line-height:1.05;
  font-weight:800;
  margin-bottom:25px;
  letter-spacing:-2px;
}

.hero p{
  font-size:1.3rem;
  max-width:760px;
  margin:auto;
  opacity:.92;
}

.hero-buttons{
  margin-top:50px;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  padding:16px 34px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  transition:.35s;
}

.btn-primary{
  background:var(--gold);
  color:white;
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(200,155,60,.35);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.3);
  color:white;
  backdrop-filter:blur(10px);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.1);
}

/* ---------------- INTRO ---------------- */

.intro{
  padding:120px 0;
  background:white;
}

.intro-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:70px;
  align-items:center;
}

.intro h2{
  font-size:2.6rem;
  margin-bottom:25px;
  color:var(--forest);
}

.intro p{
  margin-bottom:20px;
  color:#4b5563;
}

/* ---------------- STATS ---------------- */

.stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.stat-card{
  background:white;
  padding:35px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.35s;
}

.stat-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-hover);
}

.stat-card h3{
  color:var(--forest);
  font-size:2.5rem;
  margin-bottom:8px;
}

.stat-card span{
  color:var(--gray);
}

/* ---------------- TITOLI ---------------- */

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title h2{
  font-size:3rem;
  color:var(--forest);
  margin-bottom:10px;
}

.section-title p{
  color:var(--gray);
}

.light h2{
  color:white;
}

/* ---------------- SERVIZI ---------------- */

.services{
  padding:120px 0;
  background:var(--light);
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.service-card{
  background:white;
  padding:40px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:.35s;
}

.service-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-hover);
}

.service-card h3{
  color:var(--forest);
  margin-bottom:15px;
  font-size:1.4rem;
}

/* ---------------- SETTORI ---------------- */

.sectors{
  background:var(--forest);
  padding:120px 0;
}

.sector-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.sector-item{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:white;
  padding:22px;
  text-align:center;
  border-radius:16px;
  transition:.3s;
}

.sector-item:hover{
  background:var(--gold);
  transform:translateY(-5px);
}

/* ---------------- TECNOLOGIA ---------------- */

.technology{
  padding:120px 0;
}

.tech-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.tech-box{
  background:white;
  border-left:5px solid var(--forest);
  padding:40px;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.tech-box h3{
  margin-bottom:15px;
  color:var(--forest);
}

/* ---------------- CTA ---------------- */

.cta{
  background:linear-gradient(135deg,var(--forest-dark),var(--forest));
  color:white;
  text-align:center;
  padding:120px 20px;
}

.cta h2{
  font-size:3rem;
  margin-bottom:20px;
}

.cta p{
  max-width:700px;
  margin:auto auto 35px;
  opacity:.9;
}

/* ---------------- FOOTER ---------------- */

footer{
  background:#050f0d;
  color:white;
  padding:80px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:50px;
}

.footer-logo{
  margin-bottom:20px;
}

footer h4{
  margin-bottom:15px;
  color:var(--gold);
}

footer p{
  opacity:.85;
  margin-bottom:8px;
}

/* ---------------- MOBILE ---------------- */

@media(max-width:900px){
  .intro-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}

@media(max-width:768px){
  .nav{
    flex-direction:column;
    height:auto;
    padding:15px 0;
  }

  nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
  }

  .hero h1{font-size:3rem;}
  .hero p{font-size:1.1rem;}
  .stats{grid-template-columns:1fr;}
  .section-title h2{font-size:2.2rem;}
  .cta h2{font-size:2.2rem;}
}