body{
margin:0;
font-family:Arial, sans-serif;
background:#f4f6f8;
color:#1a1a1a;
line-height:1.6;
}

header{
background:#e6eef2;
padding:15px 30px;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

.logo{
display:flex;
align-items:center;
font-weight:bold;
color:#0b5e3c;
font-size:20px;
}

.logo img{
height:42px;
margin-right:10px;
}

nav a{
margin:0 15px;
text-decoration:none;
color:#1a1a1a;
font-weight:600;
}

nav a:hover{
color:#0b5e3c;
}

.hero{
background:#dfe8ec;
padding:60px 20px;
text-align:center;
}

.hero h1{
color:#0b5e3c;
margin-bottom:15px;
}

.container{
max-width:1200px;
margin:auto;
padding:50px 20px;
}

.grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:20px;
}

.card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
cursor:pointer;
transition:0.3s;
}

.card:hover{
transform:translateY(-6px);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-content{
padding:15px;
}

.card h3{
margin:0;
color:#0b5e3c;
font-size:16px;
}

.cta-section{
background:#e6eef2;
padding:60px 20px;
text-align:center;
border-radius:14px;
margin-top:50px;
}

.cta-btn{
background:#0b5e3c;
color:white;
padding:18px 36px;
border-radius:30px;
text-decoration:none;
font-weight:bold;
display:inline-block;
margin-top:20px;
}

footer{
background:#0b5e3c;
color:white;
padding:40px 20px;
margin-top:60px;
}

.lightbox{
display:none;
position:fixed;
z-index:999;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
justify-content:center;
align-items:center;
}

.lightbox img{
max-width:90%;
max-height:90%;
}

@media(max-width:900px){
.grid{
grid-template-columns:repeat(2, 1fr);
}
}

@media(max-width:600px){
.grid{
grid-template-columns:repeat(2, 1fr);
}
header{
flex-direction:column;
align-items:flex-start;
}
}

.popup-box{
  background:#ffffff;
  max-width:600px;
  width:90%;
  padding:35px;
  border-radius:14px;
  position:relative;
}

.popup-box h2{
  color:#0b5e3c;
  margin-bottom:15px;
}

.popup-box ul{
  padding-left:18px;
  line-height:1.7;
}

.popup-close{
  position:absolute;
  top:15px;
  right:18px;
  font-size:26px;
  cursor:pointer;
  color:#999;
}

.popup-close:hover{
  color:#000;
}

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:999;
  justify-content:center;
  align-items:center;
}

.popup-box{
  background:#ffffff;
  max-width:620px;
  width:92%;
  padding:40px;
  border-radius:16px;
  position:relative;
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

.popup-box h2{
  color:#0b5e3c;
  margin-bottom:18px;
}

.popup-box ul{
  padding-left:20px;
  margin-bottom:30px;
  line-height:1.7;
}

.popup-close{
  position:absolute;
  top:14px;
  right:16px;
  background:none;
  border:none;
  font-size:28px;
  cursor:pointer;
  color:#777;
}

.popup-close:hover{
  color:#000;
}

.popup-actions{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.popup-secondary{
  background:#e6eef2;
  border:none;
  padding:16px 26px;
  border-radius:30px;
  cursor:pointer;
  font-weight:600;
}

.popup-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35); /* MOLTO PIÙ LEGGERO */
  z-index:999;
  display:flex;
  justify-content:center;
  align-items:center;
}

.popup-box{
  background:#ffffff;
  width:90%;
  max-width:460px; /* POPUP PICCOLO */
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  position:relative;
}

.popup-box h3{
  color:#0b5e3c;
  margin-bottom:15px;
}

.popup-box ul{
  padding-left:20px;
  margin-bottom:25px;
  line-height:1.6;
  color:#1a1a1a;
}

.popup-close{
  position:absolute;
  top:10px;
  right:14px;
  border:none;
  background:none;
  font-size:24px;
  cursor:pointer;
  color:#555;
}

.popup-close:hover{
  color:#000;
}

.popup-cta{
  display:block;
  text-align:center;
}

