*{
box-sizing:border-box;
}

body{
margin:0;
font-family:Arial, sans-serif;
background:#f4f6f8;
color:#222;
}

.container{
width:90%;
max-width:1100px;
margin:auto;
}



/* HEADER */

.header{
background:#0f1b2b;
color:white;
padding:15px 0;
position:fixed;
width:100%;
top:0;
z-index:1000;
}

.header-inner{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:22px;
font-weight:bold;
}

.logo img{
height:45px;
}

.nav a{
color:white;
margin:0 12px;
text-decoration:none;
}

.phone{
background:#1c4ed8;
color:white;
padding:10px 16px;
border-radius:6px;
text-decoration:none;
}



/* BURGER */

.burger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.burger span{
width:28px;
height:3px;
background:white;
}



/* HERO */

.hero{
background:url('../img/hero.png') center/cover no-repeat;
min-height:600px;
height:70vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
margin-top:80px;
}

.hero-overlay{
background:rgba(0,0,0,0.6);
color:white;
padding:60px;
border-radius:14px;
}



/* BUTTON */

.btn{
background:#e53935;
padding:12px 25px;
color:white;
text-decoration:none;
border-radius:6px;
display:inline-block;
margin-top:20px;
}



/* SERVICES */

.services{
padding:80px 20px;
text-align:center;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:25px;
margin-top:40px;
}

.service{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.service img{
width:70px;
margin-bottom:10px;
}



/* WORKS */

.works{
padding:80px 20px;
text-align:center;
}

.works-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:40px;
}

.works-grid img{
width:100%;
border-radius:10px;
cursor:pointer;
}



/* ADVANTAGES */

.advantages{
padding:90px 20px;
background:#f4f6f8;
text-align:center;
}

.adv-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:30px;
margin-top:40px;
}

.adv{
background:white;
padding:35px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.adv img{
width:60px;
margin-bottom:15px;
}



/* CONTACTS */

.contacts{
background:#0f1b2b;
color:white;
padding:80px 20px;
text-align:center;
}

.map iframe{
width:100%;
height:360px;
border:0;
margin-top:25px;
border-radius:10px;
}



/* FOOTER */

.footer{
background:#09101a;
color:white;
text-align:center;
padding:30px 20px;
}

.footer-inner{
display:flex;
flex-direction:column;
align-items:center;
gap:15px;
}



/* RATING */

.rating-card{
background:#fff;
color:#000;
padding:18px 28px;
border-radius:12px;
display:inline-flex;
flex-direction:column;
align-items:center;
gap:8px;
box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.rating-card a{
text-decoration:none;
color:#000;
display:flex;
flex-direction:column;
align-items:center;
}

.rating-stars{
display:flex;
align-items:center;
gap:6px;
font-size:18px;
font-weight:bold;
}

.rating-number{
font-size:22px;
}

.stars{
color:#ffb400;
}

.rating-source{
font-size:14px;
color:#666;
}

.rating-text{
font-size:14px;
}

.yandex-award{
height:50px;
margin-top:6px;
}



/* CALL BUTTON */

.call-button{
position:fixed;
right:20px;
bottom:20px;
z-index:999;
}

.call-button a{
background:#e53935;
color:white;
padding:14px 22px;
border-radius:30px;
text-decoration:none;
font-weight:bold;
}



/* LIGHTBOX */

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
display:none;
justify-content:center;
align-items:center;
z-index:2000;
}

#lightbox img{
max-width:90%;
max-height:90%;
}



/* ANIMATION */

.fade{
opacity:0;
transform:translateY(40px);
transition:0.8s;
}

.fade.visible{
opacity:1;
transform:translateY(0);
}



/* MOBILE */

@media(max-width:768px){

.burger{
display:flex;
}

.nav{
position:absolute;
top:70px;
left:0;
width:100%;
background:#0f1b2b;
flex-direction:column;
align-items:center;
display:none;
padding:20px 0;
}

.nav.active{
display:flex;
}

.phone{
display:none;
}

.hero{
height:500px;
}

}