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

html{
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:#f8fafc;
color:#1e293b;
line-height:1.7;
overflow-x:hidden;
}

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

.container{
width:90%;
max-width:1280px;
margin:auto;
}

/* TOP BAR */

.topbar{
background:#020617;
color:#fff;
padding:12px 0;
font-size:14px;
}

.topbar-content{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}

/* HEADER */

header{
background:#081225;
padding:10px 0;
position:sticky;
top:0;
z-index:999;
box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
gap:0;
min-height:55px;
}

.logo{
font-family:'Playfair Display',serif;
font-size:34px;
color:#fff;
text-decoration:none;
line-height:1.1;
}

.logo span{
color:#d4af37;
}

nav ul{
display:flex;
list-style:none;
gap:24px;
flex-wrap:wrap;
}

nav ul li a{
color:#fff;
text-decoration:none;
font-weight:500;
font-size:15px;
transition:0.3s;
}

nav ul li a:hover{
color:#d4af37;
}

/* HERO */

.hero{
padding:100px 0;
background:#fff;
}

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

.hero-left h1{
font-family:'Playfair Display',serif;
font-size:68px;
line-height:1.1;
margin-bottom:25px;
color:#081225;
}

.hero-left h1 span{
color:#c8a14b;
}

.hero-left p{
font-size:21px;
color:#64748b;
margin-bottom:40px;
max-width:650px;
}

.hero-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.btn-primary{
background:#c8a14b;
color:#fff;
padding:16px 34px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.3s;
display:inline-block;
}

.btn-primary:hover{
transform:translateY(-3px);
}

.btn-secondary{
border:2px solid #081225;
color:#081225;
padding:16px 34px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.3s;
display:inline-block;
}

.btn-secondary:hover{
background:#081225;
color:#fff;
}

.hero-right img{
width:100%;
border-radius:20px;
box-shadow:0 14px 40px rgba(0,0,0,0.12);
}

/* SECTION */

.section{
padding:100px 0;
}

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

.section-title h2{
font-family:'Playfair Display',serif;
font-size:48px;
margin-bottom:18px;
color:#081225;
}

.section-title p{
max-width:820px;
margin:auto;
font-size:18px;
color:#64748b;
}

/* CONTENT LAYOUT */

.content-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:60px;
margin-top:50px;
align-items:start;
}

.content-main h3{
font-size:38px;
margin-bottom:25px;
color:#081225;
}

.content-main p{
font-size:18px;
color:#475569;
margin-bottom:22px;
}

/* LINK NEL TESTO */

.content-main a{
color:#c8a14b;
text-decoration:none;
font-weight:600;
border-bottom:1px solid transparent;
transition:all .3s ease;
}

.content-main a:hover{
color:#081225;
border-bottom:1px solid #c8a14b;
}

/* SIDEBAR */

.sidebar-links{
background:#fff;
padding:35px;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.06);
position:sticky;
top:120px;
}

.sidebar-links h4{
font-size:24px;
margin-bottom:25px;
color:#081225;
}

.sidebar-links a{
display:block;
padding:14px 0;
border-bottom:1px solid #e2e8f0;
text-decoration:none;
color:#334155;
font-weight:500;
transition:0.3s;
}

.sidebar-links a:hover{
color:#c8a14b;
padding-left:8px;
}

/* SERVICES */

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

.service-card{
background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
transition:0.3s;
}

.service-card:hover{
transform:translateY(-8px);
}

.service-card img{
width:100%;
height:220px;
object-fit:cover;
}

.service-content{
padding:30px;
}

.service-content h3{
font-size:28px;
margin-bottom:15px;
color:#081225;
}

.service-content p{
color:#64748b;
margin-bottom:20px;
}

.service-content a{
text-decoration:none;
color:#c8a14b;
font-weight:600;
}

/* FEATURES */

.features{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:70px;
}

.feature-box{
background:#fff;
padding:40px;
border-radius:16px;
box-shadow:0 10px 28px rgba(0,0,0,0.06);
text-align:center;
transition:0.3s;
border-top:4px solid #c8a14b;
}

.feature-box:hover{
transform:translateY(-8px);
}

.feature-icon{
font-size:42px;
margin-bottom:20px;
}

.feature-box h4{
font-size:24px;
margin-bottom:16px;
color:#081225;
}

.feature-box p{
color:#64748b;
}

/* STATS */

.stats{
background:#081225;
color:#fff;
padding:100px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
text-align:center;
}

.stat h3{
font-size:54px;
color:#d4af37;
margin-bottom:10px;
}

.stat p{
color:#cbd5e1;
}

/* CTA */

.cta{
background:linear-gradient(135deg,#081225,#1e293b);
padding:120px 20px;
text-align:center;
color:#fff;
}

.cta h2{
font-family:'Playfair Display',serif;
font-size:54px;
margin-bottom:22px;
}

.cta p{
max-width:760px;
margin:auto;
margin-bottom:35px;
font-size:19px;
color:#cbd5e1;
}

/* FOOTER */

footer{
background:#020617;
color:#fff;
padding:80px 0 35px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
}

footer h3{
margin-bottom:20px;
font-size:24px;
}

footer p,
footer a{
color:#cbd5e1;
text-decoration:none;
display:block;
margin-bottom:10px;
}

footer a:hover{
color:#d4af37;
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.1);
margin-top:45px;
padding-top:25px;
text-align:center;
color:#94a3b8;
}

footer .fa-phone,
footer .fa-envelope{
color:#d4af37;
margin-right:8px;
}

/* RESPONSIVE */

@media(max-width:1024px){

.hero-left h1{
font-size:54px;
}

.section-title h2{
font-size:40px;
}

.content-main h3{
font-size:32px;
}

}
/* SOLO DESKTOP */

@media (min-width: 901px){

    #main-menu ul li a{
        color:#ffffff !important;
    }

    #main-menu ul li a:hover{
        color:#d4af37 !important;
    }

}

@media(max-width:900px){

.navbar{
flex-direction:row;
justify-content:space-between;
align-items:center;
gap:0;
}

nav ul{
justify-content:center;
}

.hero-content{
grid-template-columns:1fr;
}

.content-layout{
grid-template-columns:1fr;
}

.hero-left h1{
font-size:42px;
}

.hero-left p{
font-size:18px;
}

.section-title h2{
font-size:34px;
}

.cta h2{
font-size:38px;
}

.topbar-content{
flex-direction:column;
text-align:center;
}

.sidebar-links{
position:relative;
top:0;
}

}

@media(max-width:600px){

.hero{
padding:70px 0;
}

.section{
padding:70px 0;
}

.hero-left h1{
font-size:34px;
}

.section-title h2{
font-size:30px;
}

.btn-primary,
.btn-secondary{
width:100%;
text-align:center;
}

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

}
/* LOGO */
.logo{
display:flex;
align-items:center;
justify-content:flex-start;
text-decoration:none;
margin:0;
padding:0;
}

.logo img{
height:55px;
width:auto;
display:block;
max-width:220px;
}

/* RIQUADRI SITI COLLEGATI */

.related-services{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:60px;
}

.service-box{
background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
text-align:center;
transition:.3s;
}

.service-box:hover{
transform:translateY(-5px);
}

.service-box img{
width:100%;
height:630px;
object-fit:cover;
}

.service-box h3{
font-size:24px;
margin:20px 15px 10px;
color:#081225;
}

.service-box p{
padding:0 20px;
margin-bottom:20px;
color:#64748b;
}

.btn-servizio{
display:inline-block;
margin:20px;
padding:12px 24px;
background:#c8a14b;
color:#fff;
text-decoration:none;
border-radius:6px;
font-weight:600;
}

.btn-servizio:hover{
background:#b28c3a;
}

@media(max-width:900px){

.navbar{
flex-direction:row;
justify-content:space-between;
align-items:center;
}

#main-menu{
display:none;
}
}
/* MENU MOBILE */
.menu-toggle{
display:none;
background:none;
border:none;
color:#ffffff;
font-size:34px;
cursor:pointer;
padding:0;
line-height:1;
}

/* TABLET E SMARTPHONE */

@media(max-width:900px){

.navbar{
display:flex;
flex-direction:row;
justify-content:space-between;
align-items:center;
gap:0;
position:relative;
}

.menu-toggle{
display:flex;
align-items:center;
justify-content:center;
height:45px;
width:45px;
padding:0;
margin:0;
}

.menu-toggle{
position:relative;
top:-2px;
}

#main-menu{
display:none;
position:absolute;
top:100%;
left:0;
width:100%;
 background:#ffffff !important;
color:#081225;
z-index:1000;
box-shadow:0 8px 20px rgba(0,0,0,.25);
}

#main-menu.active{
display:block;
}

#main-menu ul{
display:flex;
flex-direction:column;
list-style:none;
margin:0;
padding:0;
gap:0;
}

#main-menu ul li{
width:100%;
}

#main-menu ul li a{
display:block;
padding:15px 20px;
border-top:1px solid #e2e8f0;
}

.related-services{
grid-template-columns:1fr;
}

.service-box img{
height:560px;
}

}

.social-section{
    background:#f8fafc;
    margin-top:-30px;
    padding:30px 20px 60px;
    text-align:center;
    border-top:1px solid #e2e8f0;
}

.social-section h2{
font-family:'Playfair Display',serif;
font-size:40px;
color:#081225;
margin-bottom:15px;
}

.social-section p{
max-width:700px;
margin:0 auto 35px;
font-size:18px;
color:#64748b;
}

.social-links{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.social-btn{
display:inline-block;
padding:14px 28px;
background:#081225;
color:#fff;
text-decoration:none;
border-radius:8px;
font-weight:600;
transition:.3s;
}

.social-btn:hover{
background:#c8a14b;
transform:translateY(-3px);
}

.social-btn i{
    font-size:32px !important;
    vertical-align:middle;
}

.social-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
}

@media(max-width:900px){

.social-links{
flex-direction:column;
align-items:center;
}

.social-btn{
width:240px;
}

}

.footer-bottom{
text-align:center;
}

.footer-bottom a{
display:inline !important;
margin:0 !important;
}

@media (max-width:900px){

    #main-menu ul li a{
        color:#081225 !important;
        transition:all .2s ease;
        -webkit-tap-highlight-color: rgba(212,175,55,0.25);
    }

    #main-menu ul li a:hover,
    #main-menu ul li a:focus,
    #main-menu ul li a:active{
        color:#d4af37 !important;
        background:#f8f5eb !important;
    }

}

body.home nav ul li a{
    color:#081225 !important;
}

body.home nav ul li a:hover{
    color:#c8a14b !important;
}

@media (min-width:901px){

    body.home #main-menu ul li a{
        color:#081225 !important;
    }

    body.home #main-menu ul li a:hover{
        color:#c8a14b !important;
    }

}
