*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif;}

body{background:#f8fafc;color:#1e293b;}

header{
background:rgba(10,37,64,0.95);
backdrop-filter:blur(10px);
padding:15px 40px;
position:sticky;
top:0;
z-index:1000;
}

nav{display:flex;justify-content:space-between;align-items:center;}

.logo-box{display:flex;align-items:center;gap:10px;}
.logo-box img{width:50px;border-radius:10px;}
.logo-box strong{color:white;font-size:20px;}

nav ul{display:flex;gap:25px;list-style:none;}
nav a{color:white;text-decoration:none;font-weight:500;}

.hero{ 
background:linear-gradient(rgba(10,37,64,0.9),rgba(29,78,216,0.9)),
url('assicurazione-consulenza.jpg');
background-size:cover;
background-position:center; 
color:white; 
text-align:center;
 padding:160px 20px; 
}

.hero h1{
font-size:64px;
font-weight:800;
letter-spacing:2px;
background:linear-gradient(90deg,#ffffff,#60a5fa);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
opacity:0;
transform:translateY(30px);
animation:fadeUp 1.2s ease forwards;
}

.hero p{
opacity:0;
animation:fadeUp 1.5s ease forwards;
animation-delay:0.3s;
}

@keyframes fadeUp{
to{
opacity:1;
transform:translateY(0);
}
}

.btn{
background:#2563eb;
color:white;
padding:14px 30px;
border:none;
border-radius:8px;
margin-top:25px;
cursor:pointer;
font-weight:bold;
transition:0.3s;
}

.btn:hover{background:#1d4ed8;}

section{padding:90px 20px;text-align:center;}

.container{max-width:1100px;margin:auto;}

.cards{display:flex;gap:25px;justify-content:center;flex-wrap:wrap;}

.card{
background:white;
padding:30px;
border-radius:15px;
width:260px;
box-shadow:0 15px 30px rgba(0,0,0,0.08);
transition:0.3s;
}

.card:hover{transform:translateY(-8px);}

.card img{
width:100%;
height:140px;
object-fit:cover;
border-radius:10px;
margin-bottom:10px;
}

.trust{
background:#eef2ff;
}

.cta{
background:#1d4ed8;
color:white;
padding:100px 20px; /* più spazio verticale */
}

.cta .btn{
margin-top:30px; /* DISTANZA DAL TESTO */
display:inline-block;
}

.cta h2{
margin-bottom:15px;
}

.cta p{
margin-bottom:10px;
}


.footer{
background:#0a2540;
color:white;
padding:40px;
text-align:center;
font-size:14px;
line-height:1.8;
}

.footer a{color:#60a5fa;text-decoration:none;}

/* ✅ WHATSAPP FIXATO PIÙ IN ALTO */
.whatsapp{
position:fixed;
bottom:20px;
left:20px;   
right:auto; 
background:#25D366;
color:white;
padding:18px;
border-radius:50%;
font-size:22px;
text-decoration:none;
z-index:999;
transition:0.3s ease;
}

/* ABOUT PAGE */
.about-section{
display:flex;
align-items:center;
justify-content:center;
gap:50px;
flex-wrap:wrap;
max-width:1100px;
margin:auto;
}

.about-img{
width:260px;
height:260px;
border-radius:20px;
overflow:hidden;
cursor:pointer;
transition:0.4s ease;
box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.about-img img{
width:100%;
height:100%;
object-fit:cover;
transition:0.4s ease;
}

.about-img:hover{
transform:scale(1.08);
box-shadow:0 25px 60px rgba(0,0,0,0.3);
}

.about-img:hover img{
transform:scale(1.15);
}

.about-text{
max-width:500px;
text-align:left;
}

.about-text h2{
margin-bottom:15px;
}

.about-text p{
line-height:1.7;
}

/* CONTATTI */
.contact-box{
max-width:1000px;
margin:auto;
display:flex;
gap:40px;
flex-wrap:wrap;
align-items:center;
justify-content:center;
}

.biglietto{
width:260px;
border-radius:12px;
cursor:pointer;
transition:0.3s;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.biglietto:hover{
transform:scale(1.05);
}

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

.modal img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.close{
position:absolute;
top:20px;
right:30px;
font-size:40px;
color:white;
cursor:pointer;
}

.map{
width:100%;
max-width:500px;
height:300px;
border-radius:12px;
border:0;
}

@media(max-width:768px){
.hero h1{font-size:32px;}
.cards{flex-direction:column;}
}

@media(max-width:768px){

header{
padding:10px 15px;
}

nav{
flex-direction:column;
gap:10px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
gap:15px;
}

.logo-box strong{
font-size:16px;
}

/* HERO */
.hero{
padding:100px 15px;
}

.hero h1{
font-size:34px;
}

.hero p{
font-size:16px;
}

/* BOTTONI */
.btn{
padding:12px 20px;
font-size:14px;
}

/* SEZIONI */
section{
padding:60px 15px;
}

/* CARDS */
.cards{
flex-direction:column;
align-items:center;
}

.card{
width:100%;
max-width:320px;
}

/* FOOTER */
.footer{
padding:30px 15px;
font-size:13px;
}

@media(max-width:768px){
.whatsapp{
left:15px;
bottom:15px;
}
}