/*Обнуление*/
*{padding:0;margin:0;border:0;}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}
nav,footer,header,aside{display:block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
/*input::-ms-clear{display:none;}*/
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
/*ul li{list-style:none;}*/
img{vertical-align:top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;}
/*--------------------*/
body{
    font-family: "Roboto", serif;
    position: absolute;
    background: #FBF0E5;
    /*background: #f9fbfd;*/
}
body, html {
    overflow-x: hidden;
}
.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    flex: 1;
}
.header__container{
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #7e4614;
    border-radius: 20px;
    align-items: center;
}
.header__logo h1{
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
}
.header__navigation{
    width: 780px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}
.burger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.header__navigation a{
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.header__button{
    background: none;
    border: 2px solid white;
    border-radius: 15px;
    padding: 10px 15px;
    transition: 0.2s;
}
.header__button:hover{
    background: #FFFFFF;
    color: #7e4614;
    transition: 0.2s;
}
/*--------------------*/
.greeting__container{
    max-width: 1300px;
    background-image: url("../images/homeback.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}
.greeting__text{
    max-width: 588px;
    min-height: 275px;
    padding: 17px 30px 23px 30px;
    border-radius: 20px;
    background: rgba(38, 38, 38, 0.75);
    margin-left: 50px;
}
.greeting__text h2{
    color: #FFF;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}
.greeting__text a{
    width: 275px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #7e4614;
    display: flex;
    color: white;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
.greeting__text a:hover{
    background: none;
    border: 2px solid white;
    transition: 0.2s;
}
/*--------------------*/
.advantages__container{
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 50px;
}
.advantages__container h1{
    color: #041614;
    font-size: 49px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-align: center;
    margin-bottom: 40px;
}
.advantages__block{
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.advantages__block-block{
    display: flex;
    padding: 30px 30px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #FFF;
    width: 295px;
    box-shadow: 0 16px 32px -4px rgba(62, 52, 69, 0.10), 0 2px 4px 0 rgba(62, 52, 69, 0.04);
}
.advantages__block-block img{
    width: 80px;
}
.advantages__block-block h2{
    color:#1A1E1F;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-top: 32px;
    text-align: center;
}
.advantages__block-block p{
    color: #303233;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 0.08px;
}
/*--------------------*/
.best__container{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
}
.best__container h1{
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
    max-width: 900px;
}
.best__blocks{
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.best__blocks-block{
    width: 370px;
    height: auto;
    background-color: #FFFFFF;
    border-radius: 20px;
}
.best__blocks-block_img{
    margin-bottom: 40px;
}
.best__blocks-block_img img{
    width: 100%;
    height: auto;
    max-width: 500px;
    min-width: 269px;
    border-radius: 20px;
    max-height: 292px;
    min-height: 292px;
}
.best__blocks-block_main{
    padding: 0 30px 20px 30px;
}
.best__blocks-block_main h3{
    color: #1A1A1A;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
}
.best__blocks-block_main p{
    color: #1A1A1A;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.best__blocks-block_main h2{
    color: #1A1A1A;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
    min-height: 70px;
    border-bottom: 2px solid black;
}
.best__blocks-block_main a{
    width: 175px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #7e4614;
    display: flex;
    color: white;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
.best__blocks-block_main a:hover{
    background: none;
    color: #7e4614;
    border: 2px solid #7e4614;
    transition: 0.2s;
}
.best__container-buttons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 30px;

}
.best__container-buttons a{
    width: 100px;
    height: 30px;
    color: #ffffff;
    background: #1A1E1F;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.2s;
}
.best__container-buttons a:hover{
    background: none;
    color: #1A1E1F;
    border: 1px solid #1A1E1F;
    transition: 0.2s;
}
/*--------------------*/
.reviews {
    max-width: 1170px;
    height: 535px;
    flex-shrink: 0;
    margin: 0 auto;
}
.reviews h2{
    text-align: center;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #000000;
}
.carousel {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: center;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}
.review p{
    margin-bottom: 15px;
    color: #7e4614;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    min-height: 115px;
}
.review{
    flex: 0 25%;
    border-radius: 10px;
    border: 1px solid #7e4614;
    box-shadow: 0 4px 20px -1px rgba(0, 0, 0, 0.00);
    backdrop-filter: blur(25px);
    height: auto;
    min-height: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 20px;
    text-align: center;
}
.review:nth-child(3n) {margin-right: 0;}
.review img {
    width: 130px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.reviews button {
    background: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.review h4{
    color: #1A1A1A;
    font-size: 14px;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
}
.review span{color: white;}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ccc;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 2;
}
.reviews__button{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.prev {left: 10px;z-index: 2;}
.next {right: 10px;z-index: 2;}
.reviews__button button {
    width: 275px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #7e4614;
    display: flex;
    color: white;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}
.reviews__button button:hover {
    background: none;
    color: #1A1E1F;
    border: 1px solid #1A1E1F;
    transition: 0.2s;
}
/*--------------------*/
.about__container{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.about__container h1{
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
    max-width: 900px;
}
.about__title h2,.about__vision h2{
    color: #1A1A1A;
    font-size: 31px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
    max-width: 600px;
}
.about__title p,.about__vision p{
    color: #1A1A1A;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
    border-bottom: 2px solid #1A1A1A;
}
.about__choose{
    display: flex;
    gap: 30px;
    padding: 0 30px;
    margin: 40px 0;
    align-items: center;
}
.about__choose img{
    width: 100%;
    height: auto;
    max-width: 540px;
    min-width: 540px;
    border-radius: 20px;
}
.about__choose-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about__choose-text span{
    color: #303233;
    font-weight: 700;
}
.about__choose-text h2{
    font-size: 31px;
    font-weight: 600;
    margin-bottom: 30px;
}
.about__choose-text p{
    color: #1A1A1A;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
}
/*--------------------*/
.action__container{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px;
    background: #7e4614;
    border-radius: 20px;
    margin-bottom: 70px;
    margin-top: 70px;
}
.action__container h2{
    color: #ffffff;
    font-size: 31px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
    text-align: center;
}
.action__container a{
    width: 275px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: none;
    display: flex;
    color: white;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    border: 1px solid white;
}
.action__container a:hover{
    background: white;
    color: #1A1E1F;
    border: 1px solid #1A1E1F;
    transition: 0.2s;
}
/*--------------------*/
.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-container {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.contact h1{
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px;
}
.contact-info {
    width: 50%;
    padding-right: 30px;
}
.contact-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}
.contact-subtitle {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-text,.contact-address h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    border-left: 3px solid #d889a1;
    padding-left: 10px;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    font-size: 18px;
    color: #666;
    transition: 0.3s;
}
.social-icons a:hover {color: #d889a1;}
.contact-form {width: 50%;}
.contact-container form {
    display: flex;
    flex-direction: column;
}
.contact-container input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
.contact-container textarea {
    min-height: 80px;
    resize: none;
}
.terms {
    display: flex;
    font-size: 16px;
    margin-bottom: 15px;
}
.terms input {margin-right: 5px;height: 16px;width: 16px}
.terms a {
    color: #337ab7;
    text-decoration: none;
}
.contact-container button {
    width: 275px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #7e4614;
    display: flex;
    color: white;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    border: 1px solid white;
}
.contact-container button:hover {
    background: none;
    color: #7e4614;
    border: 1px solid #7e4614;
    transition: 0.2s;
}
/*--------------------*/
.footer {
    background: white;
    color: black;
    padding: 50px 0 0 0;
    margin-top: 70px;
}
.footer__container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.footer__container a{
    color: #337ab7;
}
.footer__links{
    display: flex;
    flex-direction: column;
}
.footer__pages{
    display: flex;
    flex-direction: column;
}
.footer__logotext h1{
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer__logotext p{
    font-size: 21px;
    max-width: 300px;
}
.footer__links a,.footer__pages a{
    font-size: 21px;
    margin-bottom: 15px;
}
.footer__contact p{
    font-size: 21px;
    max-width: 300px;
}
.footer-text{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding: 10px 0;
    background-color: #FBF0E5;
}

@media(max-width: 1000px){
    .about__choose img{
        width: 100%;
        height: auto;
        max-width: 540px;
        min-width: 300px;
        border-radius: 20px;
    }
}
@media(max-width: 750px){
    .reviews{
        display: none;
    }
}
@media(max-width: 690px){
    .about__choose{
        display: flex;
        flex-direction: column;
    }
    .contact-container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-info,.contact-form{
        width: 90%;
    }
    .footer__container{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-text{
        text-align: center;
    }
    .greeting__container{
        display: flex;
        justify-content: center;
    }
    .greeting__text{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: 0;
    }
}
@media(max-width: 410px){
    .about__title h2,.about__vision h2{
        font-size: 24px;
    }
    .about__title p, .about__vision p{
        font-size: 18px;
    }
}



@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .header__container{
        display: flex;
        justify-content: space-between;
        padding: 30px;
    }
    .header__navigation{
        position: absolute;
        top: 100px;
        right: 0;
        background: rgb(126, 70, 20);
        width: 200px;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transform: translateX(100%);
        box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.5);
    }
    .header__navigation .header__button2{
        display: block;
    }
    .header__button{
        display: none;
    }
    .header__navigation a{
        margin: 10px 0;
        font-size: 20px;
    }
    .header__navigation.active{
        transform: translateX(0);
    }
    #active{
        color: white;
    }
    .header__logo1{
        display: block;
        font-size: 32px;
        color: white;
        font-weight: 600;
    }
    .steps__main{
        gap: 0;
    }
}