*{
    box-sizing: border-box;
}

*::before,
*::after{
    box-sizing: border-box;
}
@font-face {
    font-family: 'Poppins';
    src: url(../fonts/Poppins-Regular.woff) format('woff');
    font-display: swap;
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url(../fonts/Poppins-Medium.woff) format('woff');
    font-display: swap;
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url(../fonts/Poppins-Bold.woff) format('woff');
    font-display: swap;
    font-weight: 700;
    font-style: normal;
}
body{
    font-family: var(--font-family);
    font-weight: 400;
}

img{
    max-width: 100%;
}
.list-reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn-reset{
    font-family: var(--font-family);
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}
:root{
    --font-family:'Poppins', sans-serif;
}


.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
}

.header-container{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.burger{
    --offset-horizontal: 11px;
    --offset-vertical: 14px;
    position: relative;
    padding: var(--offset-vertical) var(--offset-horizontal);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    background-color: #f5f6f7;
}

.burger-line{
    position: absolute;
    left: 50%;
    top: var(--offset-vertical);
    background-color: black;
    display: inline-block;
    width: calc(100% - (var(--offset-horizontal)*2));
    height: 2px;
    transform: translateX(-50%);
}

.burger-line:nth-child(2) {
    top: calc(var(--offset-vertical) + 6px);
}

.burger-line:nth-child(3) {
    top: calc(var(--offset-vertical) + 12px);
}
.container{
    max-width: 1140px;
    padding: 0 15px;
    margin: 0 auto;
}

.link{
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1 px;
    color: #d4d6d8;
    text-decoration: none;
    border-bottom: 1px solid currentColor;

}

.link:hover{
    color: #ffd723;
}

.site-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    color: #4d533c;
}
.hero {
    padding-top: 189px;
    padding-bottom: 210px;
    background-image: url(../img/hero-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content{
    max-width: 616px;
    color: #fff;
}

.hero-subtitle{
    display: inline-block;
    margin-bottom: 22px;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

.hero-title{
    margin: 0;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 60px;
    line-height: 74px;
}

.hero-descr{
    margin: 0;
    margin-bottom: 45px;
    font-size: 16px;
    line-height: 26px;
}

.services-title{
    margin: 0;
    max-width: 606px;
    margin-bottom: 60px;
}

.services {
    padding-top: 150px;
    padding-bottom: 150px;
    margin-bottom: -180px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.services-subtitle {
    margin: 0;
    margin-bottom: 20px;
    max-width: 183px;
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    text-transform: uppercase;
    color: #4d533c;
}

.services-descr {
    margin: 0;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 20px;
    color: rgba(33,56,66,0.6);
}

.services-item{
    display: flex;
    flex-direction: column;
}
.services-link{
    margin: 0;
    margin-top: auto;
    width: fit-content;
}

.get-started {
    margin: 0;
    position: relative;
    top: 180px;
    background-color: #fafafa;
    width: 88%;
    padding: 70px 0;
    box-shadow: 50px 130px 100px rgba(0,0,0,0.145947);
}
.get-started-link{
    text-transform: uppercase;
}


.get-started-title{
    margin: 0;
    margin-bottom: 50px;
    max-width: 822px; 
    font-weight: 700;
    font-size: 60px;
    line-height: 74px;
    color: #4d533c;
}

.footer {
    color: #fff;
    padding-top: 300px;
    background-image: url(../img/fotter_bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer-contacts-text{
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 40px;
    color: #d6c197;
    margin-bottom: 60px;
}

.footer-top{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #606544;
    padding-bottom: 52px;
}

.footer-contacts-item:not(:last-child){
    margin-right: 128px;
}

.footer-contacts-value{
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    font-style: normal;
}

.footer-title{
    margin: 0;
    margin-bottom: 21px;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    color: #fff;

}

.footer-link{
    display: inline-block;
    font-size: 16px;
    line-height: 40px;
    text-decoration: none;
    color: #b6c197;
}

.footer-middle{

    --grid-gap: 70px;
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-bottom: 1px solid #606544;
}

.footer-text{
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: #b6c197;
    margin-bottom: 23px;
}

.footer-column:last-child{
    position: relative;
}

.footer-column:last-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * var(--grid-gap));
    width: 1px;
    height: 100%;
    background-color: #606544;

}
.footer-mail{
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 18px;
    text-decoration: none;
    color: #fff;
}

.social-link{
    display: block;
    width: 33px;
    height: 33px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    background-size: 21px auto;
    background-color: #444a34;
}

.social{
    display: flex;
    align-items: center;
}

.social-link-fb{
    background-image: url(../img/free-icon-facebook-app-symbol-20837.png);
}

.social-link-tw{
    background-image: url(../img/free-icon-twitter-152809.png);
}

.social-link-g{
    background-image: url(../img/free-icon-google-plus-1051335.png);
}

.social-link-in{
    background-image: url(../img/free-icon-linkedin-letters-25325.png);
}
.social-item:not(:last-child) {
    margin-right: 11px;
}

.social-link:hover{
    background-color: #606544;
}

.copyright{
    font-size: 14px;
    line-height: 21px;
    color: #85c096;
}

.footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

@media (max-width: 992px) {
    .services-list{
        gap: 50px;
        grid-template-columns: repeat(2, 1fr);
    }
    .services-subtitle{
        max-width: none;
    }
    .services-descr{
        max-width: none;
    }

    .footer-middle{
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-column:last-child::before{
        display: none;
    }
}

@media (max-width: 768px) {
    .get-started-title {
        font-size: 42px;
        line-height: 54px;
    }
}

@media (max-width: 576px) {
   .footer-middle{
       --grid-gap: 40px;
       grid-template-columns: repeat(1, 1fr);
   }

   .hero-title{
       font-size: 50px;
       line-height: 65px;
   }

   .services{
       padding-top: 50px;
       padding-bottom: 50px;
   }

   .footer-bottom{
       flex-direction: column;

   }
}

@media (max-width: 375px) {
    .footer-mail{
        font-size: 18px;
    }

    .logo{
        width: 65%;
    }

    .hero-title {
        font-size: 45px;
        line-height: 60px;
    }

    .services-list{
        grid-template-columns: repeat(1, 1fr);
    }
}