body{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin-top: 83px;
    background-color: #e6e7e7;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-large{
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.scroll-hide {overflow: hidden; }
html {scroll-behavior: smooth;}

html{
    margin-top: 0 !important;
}


/*----------------------------style-----------------------------*/

ol, ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5{
    margin: 0;
    color: #212529;
}

h2{
    color: #212529;
    font-weight: 700;
    font-size: 39px;
    line-height: 55px;
}

h3{
    font-size: 21px;
    font-weight: 500;
    line-height: 37px;
    letter-spacing: 0.7px;
}

h5{
    text-transform: uppercase;
    font-size: 14px;
    color: #212529;
    line-height: 27px;
    font-weight: 600;
    letter-spacing: 1px;
}

p{
    font-size: 15px;
    font-weight: 400;
    color: #313438;
    margin: 0;
    line-height: 32px;
    letter-spacing: 0.7px;
}

p:not(:last-child){
    margin-bottom: 20px;
}


.title-block{
    text-align: center;
}

/*------------------------btns--------------------*/


a.btn-schedule{
    background-color: #F59E0B;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    display: block;
    width: 300px;
    max-width: 100%;
    padding: 18px 0;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.7px;
}

.btns-stick {
    width: 100%;
    background-color: #61676c;
    padding: 15px 0;
    position: fixed;
    bottom: -76px;
    transition: bottom 0.5s ease-in-out;
    z-index: 777;
    display: none;
}

.btn-call.show {
    opacity: 1;
}


/*----------------------------navigation------------------------*/

.nav-icon {
    display: none;
    margin: 0;
    width: 30px;
}

.nav-icon:after,
.nav-icon:before,
.nav-icon div {
    background-color: #ffffff;
    border-radius: 3px;
    content: "";
    display: block;
    height: 2px;
    margin: 8px 0;
    transition: all 0.3s ease-in-out;
}

.nav-icon.closed:before {
    transform: translateY(4px) translateX(-6px) rotate(130deg);
    width: 18px;
}

.nav-icon.closed:after {
    transform: translateY(-4px) translateX(-6px) rotate(-130deg);
    width: 18px;
}


.nav-menu li a {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    padding: 0;
    letter-spacing: 1px;
}


.nav-menu {
    display: flex;
    gap: 30px;
    margin: 0;
    align-items: center;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.header-nav-container{
    width: 100%;
    top: -150px;
    transition: top 1s;
    z-index: 10000;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1F2934;
}


/*--------------------------hero-----------------------*/

.pic-hero{
    background: url('../image/hero.jpeg') no-repeat center top / cover;
    padding: 140px 0;
}

.pic-hero p{
    font-weight: 500;
    color:#ffffff;
}

.pic-hero h1{
    color: #ffffff;
    font-size: 57px;
    line-height: 67px;
    font-weight: 700;
    margin-bottom: 28px;
}

.block-slogan{
    padding: 0 15px;
}

.description-hero{
    max-width: 55%;
    position: relative;
}

.hero{
    background-color: #1F2934;
}

/*-----------------------------previlegy----------------------*/

.item-previlegy{
    display: flex;
    gap: 20px;
    align-items: center;
}

.item-previlegy h5{
    color: #c7c7c7;
}


.item-previlegy h5 span{
    display: block;
}

.previlegy{
    padding: 30px 0;
    background-color: #1F2934;
}

.general-previlegy-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
}

.icon-previlegy{
    width: 47px;
    height: 47px;
}


/*-------------------------services------------------------*/

.services{
    padding: 80px 0 100px 0;
}

.services .btn-schedule{
    margin: 0 auto;
}



.block-title{
    text-align: center;
}

.block-title h2{
    margin-bottom: 20px;
}

.general-services-container {
    margin: 45px 0 40px 0;
    display: grid;
    gap: 20px;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
}

.pic-services img, .pic-services picture {
    height: 260px;
    width: 100%;
    display: block;
    object-fit: cover;
}

.pic-services {
    position: relative; 
    overflow: hidden;
}

.pic-services h4 {
    position: absolute;
    bottom: 22px;
    font-weight: 400;
    left: 24px;
    color: white;
    font-size: 18px;
    z-index: 2;
    line-height: 30px;
}

.pic-services h4 span{
    display: block;
}

.pic-services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(181deg, rgba(0, 0, 0, 0.00) 19.98%, rgba(0, 0, 0, 0.88) 99.18%);
    z-index: 1; 

}


h2 span{
    color: #A40033;
}

/*------------------welcome----------------------*/

.welcome{
    padding: 100px 0;
    background-color: #1F2934;
}


.description-welcome h2,
.description-welcome h3,
.description-welcome p{
    color: #c7c7c7;
}

.description-welcome h2{
    margin-bottom: 15px;
}

.description-welcome h3{
    margin-bottom: 25px;
}

.general-welcome-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 80px;
    align-items: center;
}

.pic-welcome img, .pic-welcome picture {
    height: 590px;
    width: 100%;
    display: block;
    object-fit: cover;
}

/*------------------------why-us----------------------*/

.why-us{
    padding: 100px 0;
    background-color: #f1f1f1;
}

.block-title p span{
    font-weight: 600;
}

.item-features h5 span{
    display: block;
}

.item-features h5{
    margin-top: 8px;
}

.general-features-container{
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 20px;
}

.item-features{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/*-------------------customer-satisfaction----------------*/

.customer-satisfaction{
    padding: 90px 0;
}

.backgraund-satisfaction{
    padding: 120px 0;
    display: flex;
    background: url('../image/satisfaction-bg.jpeg') no-repeat center top / cover;
}

.description-satisfaction h2,
.description-satisfaction p{
    color: #ffffff;
}

.description-satisfaction h2{
    margin-bottom: 30px;
}

.description-satisfaction{
    max-width: 45%;
    position: relative;
}

.block-satisfaction{
    display: flex;
    justify-content: flex-end;
}

.item-list{
    background-color: #f1f1f1;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.customer-testimonials{
    margin-top: 60px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
}

.raiting h5{
    margin-bottom: 12px;
}

.raiting{
    margin-bottom: 10px;
}

.user-testimonials span{
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}

.user-testimonials p{
    margin-bottom: 12px;
}




/*-------------------------PARTS-------------------------*/

.parts{
    background-color: #1F2934;
    padding: 100px 0;
}

.general-parts-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
    max-width: 100%;
}

.pic-parts img, .pic-parts picture {
    height: 450px;
    width: 100%;
    display: block;
    object-fit: cover;
}

.description-parts h2{
    margin-bottom: 5px;
}

.description-parts h3{
    margin-bottom: 22px;
}

.description-parts p,
.description-parts h3,
.description-parts h2{
    color: #c7c7c7;
}

/*----------------------emergency---------------*/

.emergency{
    padding: 100px 0;
}

.general-emergency-container{
    display: grid;
    gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    max-width: 100%;
}

.description-emergency h2{
    margin-bottom: 30px;
}

.pic-emergency picture, 
.pic-emergency img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
}

.description-emergency a h3{
    color: #F59E0B;
    font-weight: 800;
}

/*-----------------------blog----------------------*/

.blog{
    padding: 100px 0;
    background-color: #ffffff;
}


.general-blogs-container{
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 20px;
    max-width: 100%;
}

.pic-blog picture, 
.pic-blog img {
    width: 100%;
    height: 250px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.item-blog h3{
    margin-top: 20px;
}

.blog .title-block h2{
    margin-bottom: 15px;
}

/*--------------------blog-page-pagination---------------------*/


.pagination{
    margin-top: 55px;
}


ul.page-numbers{
    display: flex;
    justify-content: center;
    gap: 18px;
}

.page-numbers{
    color: #181515;
    font-size: 15px;
    font-weight: 500;
}

.page-numbers .current{
    background-color: #A40033;
    padding: 5px 14px;
    color: #ffffff;
}


/*-------------------footer------------------*/

.footer{
    padding: 30px;
    background-color: #1F2934;
    text-align: center;
}

.footer p{
    color: #ffffff;
}


/*------------------CONTACT PAGE------------------*/

.contacts-intro{
    padding: 45px 0 40px 0;
    background-color: #F9F9F9;
}

.contacts-intro h1{
    margin-bottom: 35px;
}

.contact-pic picture,
.contact-pic img{
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
}


.contacts-information{
    padding-bottom: 100px;
    background-color: #F9F9F9;
}

.general-info-container{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
}

.item-info{
    background-color: #ffffff;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.07);
    background: rgb(255, 255, 255);
    padding: 35px;
}


.title-info{
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
}

.title-info h3{
    font-weight: 500;
}

.title-info{
    margin-bottom: 7px;
}

.item-info p{
    text-align: center;
}

.item-info ul li{
    line-height: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #313438;
    letter-spacing: 1px;
}

.item-info ul li a{
    color: #F59E0B;
    font-weight: 600;
}

.intro-contacts-text{
    text-align: center;
    padding: 50px 0;
}

.schedule{
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.07);
    background: rgb(255, 255, 255);
}

.schedule .btn-schedule{
    margin: 0 auto;
}

.schedule h2{
    margin-bottom: 20px;
}

.contacts-intro h1 {
    font-size: 44px;
    line-height: 60px;
}

/*------------------------CONTENT PAGE-------------------------*/

.content{
    background-color: #F9F9F9;
    padding-bottom: 70px;
}

.content h1{
    font-size: 45px;
    line-height: 52px;
    padding-top: 50px;
    margin-bottom: 40px;
}

.content h2{
    margin-top: 40px;
    margin-bottom: 10px;
}

.content picture,
.content img{
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    margin-bottom: 40px;
}

.content ul li a {
    color: #F59E0B;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.7px;
}

.content ol,
.content ul{
    margin: 30px 0;
}

.content ul li{
    display: block;
    padding: 15px 20px;
    line-height: 25px;
}


.content ul li:nth-of-type(odd) { 
	background: #ecf1f3; 
}

.wp-block-table td, .wp-block-table th {
    border: 0;
    padding: 20px;
}


table { 
	width: 100%; 
	border-collapse: collapse; 
}


tr:nth-of-type(odd) { 
	background: #efeeec; 
}

th { 
	background: #1F1F1F; 
	color: white; 
	font-weight: 600; 
    padding: 20px 15px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

td, th { 
	padding: 10px; 
	border: 1px solid #dfdfdf; 
	text-align: left; 
	font-size: 16px;
    line-height: 28px;
    padding: 20px 15px;
}

td{
    color: #322525;
}

.content a{
    color: #A40033;
}

.wp-block-table .has-fixed-layout {
    table-layout: fixed;
    margin-bottom: 30px;
}


@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	table { 
	  	width: 100%; 
	}

    .wp-block-table td:nth-child(1){
        padding-bottom: 5px;
    }

    .wp-block-table td:nth-child(2){
        padding-top: 5px;
    }

	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		border: none;
		border-bottom: 1px solid #e1e1e1; 
		position: relative;
		padding-left: 50%; 
	}


	td:before { 
		position: absolute;
		top: 20px;
		left: 15px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		content: attr(data-column);
		color: #000;
		font-weight: bold;
	}

}

.content ol li span{
    font-weight: 700;
}

.content ol li{
    color: #222222;
    line-height: 28px;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.content ol{
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.07);
    background: rgb(255, 255, 255);
}

ol li:not(:last-child) {
    margin-bottom: 25px;
}


/*-----------------------media----------------------*/


@media screen and (max-device-width: 1076px) and (min-device-width: 940px){


    .description-satisfaction {
        max-width: 60%;
    }

    .general-emergency-container,
    .general-parts-container,
    .general-welcome-container {
        gap: 50px;
    }

}



@media screen and (max-device-width: 939px) and (min-device-width: 360px){

    .general-emergency-container,
    .general-parts-container,
    .general-welcome-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .description-emergency{
        order: 2;
    }

    .pic-emergency picture, .pic-emergency img,
    .pic-parts img, .pic-parts picture,
    .pic-welcome img, .pic-welcome picture {
        height: 350px;
    }

    .customer-testimonials {
        margin-top: 40px;
        grid-template-columns: 1fr;
    }

    .list {
        margin-top: 20px;
        gap: 20px;
        grid-template-columns:  1fr;
    }

    .general-features-container {
        margin-top: 50px;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .description-welcome{
        text-align: center;
    }

    .general-services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .general-previlegy-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .item-previlegy {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .description-hero {
        max-width: 100%;
        position: relative;
        text-align: center;
        left: 0;
    }

    .description-hero a{
        margin: 0 auto;
    }

    .description-satisfaction {
        max-width: 100%;
        text-align: center;
    }

    .backgraund-satisfaction {
        padding: 100px 0;
    }

    .promo-text {
        padding: 40px 25px;
        max-width: 100%;
        text-align: center;
    }


    .description-parts{
        text-align: center;
    }

    .description-emergency{
        text-align: center;
    }

    .general-blogs-container {
        grid-template-columns: 1fr;
        gap: 50px 20px;
    }

    .btns-block {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
    }


}

@media screen and (max-device-width: 768px) and (min-device-width: 360px){
    .pic-hero {
        padding: 90px 0;
    }

    .btns-stick {
        display: flex;
        justify-content: center;
    }

    .footer{
        margin-bottom: 76px;
    }

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


@media screen and (max-device-width: 480px) and (min-device-width: 360px){

    .pic-services h4 {
        bottom: 35px;
        font-weight: 400;
        left: 37px;
        font-size: 20px;
        letter-spacing: 1px;
        line-height: 34px;
    }

}



@media screen and (max-device-width: 1024px) and (min-device-width: 360px){

    .nav-icon{
        display: block;
    }

    .logo{
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1000;
        width: 100%;
    }

    .nav-menu{
        width: 100%;
        height: 100%;
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        top: -100%;
        gap: 45px;
        left: 0;
        transition: all 0.4s ease-in-out;
        opacity: 0;
    }

    .nav-menu li a {
        font-size: 18px;
        font-weight: 500;
    }

    .nav-menu.active {
        top: 0;
        z-index: 999;
        opacity: 1;
        background-color: #1F2934;
    }

    .services {
        padding: 60px 0;
    }

    .welcome {
        padding: 60px 0;
    }

    .blog,
    .emergency,
    .promo,
    .customer-satisfaction,
    .why-us {
        padding: 70px 0;
    }

    .parts{
        padding-bottom: 70px;
    }

    h2{
        font-size: 37px;
        line-height: 45px;
    }

    .pic-hero h1 {
        font-size: 45px;
        line-height: 56px;
        margin-bottom: 25px;
    }

    .general-info-container {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .title-info {
        margin-bottom: 5px;
    }

    .contacts-intro h1 {
        font-size: 43px;
    }

    .content picture,
    .content img{
        height: 350px;
        border-radius: 20px;
    }
    

}

