*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

li,
ul {
    padding: 0;
    list-style: none;
}

h1,
h3,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Jost", sans-serif;
    /* font-family: "DM Serif Display", serif;
    font-family: "Inter", sans-serif; */
    font-size: 22px;
    font-weight: 400;
    line-height: 33px;
    color: #4D5053;
}

.container {
    max-width: 1220px;
    padding: 0 10px;
    margin: 0 auto;
}

.menu-btn {
    display: none;
}

.title {
    font-family: "DM Serif Display", serif;
}

.header,
.descr,
.problem,
.reviews,
.brands,
.projects,
.about,
.blogs,
.join {
    margin-bottom: 100px;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 26px 0 18px;
}

.logo {
    margin-bottom: 12px;
}

.menu__list {
    display: flex;
    gap: 40px;
}

.menu__list-item {
    transition: all .3s;
}

.menu__list-item:hover {
    color: #CDA274;
}

.header__content {
    background-image: url('../images/header-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0px 0px 0px 300px;
}

.header__content-inner {
    padding: 200px 0 250px;
    max-width: 600px;
}

.header__title {
    font-size: 80px;
    line-height: 96px;
    color: #292F36;
}

.header__subtitle {
    line-height: 33px;
    margin: 20px 0 35px;
}

.header__link,
.problem__link {
    color: #fff;
    font-size: 18px;
    background-color: #292F36;
    padding: 22px 34px;
    border-radius: 20px;
    height: 70px;
    display: inline-flex;
    gap: 34px;
    align-items: center;
}

.descr__list {
    display: flex;
}

.descr__list-item {
    max-width: 400px;
    text-align: center;
    padding: 75px 40px 70px;
}

.descr__list-title {
    color: #292F36;
    font-size: 25px;
    line-height: 39px;
    letter-spacing: 2px;
}

.descr__list-text {
    margin: 20px 0 60px;
}

.descr__list-link {
    width: 120px;
    font-size: 18px;
    line-height: 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.problem__inner {
    display: flex;
    align-items: center;
    gap: 98px;
}

.problem__image {
    max-width: 592px;
}

.problem__content {
    max-width: 510px;
}

.problem__title {
    font-size: 50px;
    line-height: 65px;
    color: #292F36;
}

.problem__subtitle {
    margin: 42px 0 50px;
}

.problem__phone {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
}


.reviews__inner {
    margin-bottom: 40px;
    background-color: #F4F0EC;
    border-radius: 70px;
    padding: 100px 50px 150px;

}

.reviews__title {
    max-width: 480px;
    text-align: center;
    font-size: 45px;
    line-height: 59px;
    margin: 0 auto;
    margin-bottom: 45px;
    color: #292F36;
}

.reviews__list {
    display: flex;
    gap: 17px;
    margin: 0 auto;
}

.reviews__list-item {
    padding: 50px 30px 45px 35px;
    max-width: 354px;
    background-color: #fff;
    border-radius: 30px;
}

.reviews__name {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.reviews__img {
    width: 77px;
    height: 77px;
    border-radius: 50px;
    margin-right: 20px;
}

.reviews__content-name {
    color: #292F36;
    font-size: 25px;
}

.reviews__content-text {
    font-size: 18px;
}

.reviews__list-text {
    font-size: 20px;
}

.brands__inner {
    padding: 0 50px;
}

.brands__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects__title {
    font-size: 47px;
    line-height: 62px;
    color: #292F36;
    text-align: center;
    margin-bottom: 20px;
}

.projects__subtitle {
    max-width: 770px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 70px;
}

.projects__list {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 60px 20px;
}

.projects__list-item {
    max-width: 590px;
}

.projects__img {
    border-radius: 0 90px 0 0;
    margin-bottom: 15px;
    width: 100%;
}

.projects__content-name {
    font-size: 24px;
    color: #292F36;
}

.projects__descr {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects__descr-span,
.blogs__descr-span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #F4F0EC;
    border-radius: 50px;
    position: relative;
}

.projects__descr-span::before,
.blogs__descr-span::before {
    content: '';
    display: block;
    position: absolute;
    background-image: url('../images/projects__arrow.png');
    width: 9px;
    height: 16px;
}

.about {
    background-color: #F4F0EC;
}

.about__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 140px 0;
}

.about__list-item {
    text-align: center;
    padding: 0 5px;
}

.about__list-item+.about__list-item {
    border-left: 1px solid #CDA274;
}

.about__list-title {
    font-size: 85px;
    color: #CDA274;
    line-height: 128px;
    margin-bottom: 40px;
}

.blogs__title {
    font-size: 48px;
    line-height: 62px;
    text-align: center;
    color: #292F36;
    margin-bottom: 20px;
}

.blogs__subtitle {
    text-align: center;
    max-width: 590px;
    margin: 0 auto;
    margin-bottom: 70px;
}

.blogs__list {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 40px 20px;
    padding-bottom: 40px;
}

.blogs__list-item {
    max-width: 390px;
    padding: 21px 21px 40px;
    border-radius: 62px;
    border: 1px solid #E7E7E7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blogs__image {
    position: relative;
}

.blogs__image img {
    border-radius: 45px 45px 0 0;
    max-width: 100%;
    max-height: 300px;

}

.blogs__image-descr {
    position: absolute;
    bottom: 30px;
    left: 25px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px 8px 8px 0;
}

.blogs__item-title {
    font-size: 25px;
    line-height: 35px;
    letter-spacing: 0.5px;
    color: #292F36;
    margin-bottom: 10px;
}

.blogs__date {
    max-width: 200px;
    font-size: 16px;
}

.blogs__descr-span {
    width: 52px;
    height: 52px;
}

.join__inner {
    background-color: #292F36;
    color: #fff;
    padding: 100px 0px 100px;
    border-radius: 70px;
    text-align: center;
}

.join__title {
    font-size: 50px;
    line-height: 75px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.join__subtitle {
    margin-bottom: 30px;
}

.join__link {
    display: inline-flex;
    align-items: center;
    background-color: #CDA274;
    border-radius: 18px;
    padding: 21px 15px 23px 34px;
    font-size: 18px;
    line-height: 27px;
    height: 70px;
}

.join__link span {
    max-width: 140px;
    margin-right: 27px;
}



.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer__descr {
    max-width: 330px;
    margin-right: 80px;
}

.footer__descr-text {
    margin-bottom: 10px;
}

.footer__list {
    display: flex;
    gap: 40px;
}

.footer__pages,
.footer__explore {
    width: 140px;
}

.pages__list-title,
.explore__list-title,
.footer__contact-title {
    font-size: 25px;
    line-height: 37.5px;
    color: #292F36
}

.pages__list,
.explore__list,
.contact__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__list {
    max-width: 320px;
}

.panels{
    display: flex;
    justify-content: space-around;
}

.footer__bottom {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
    border-top: 1px solid #E5E5E5;
    margin-top: 110px;
}

.designed__link {
    color: #CDA274;
}

.accordion {
    display: none;
}

@media(max-width: 1220px){
    .blogs__list {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 30px 10px;
    }
}

@media(max-width: 1000px) {

    .problem__inner {
        gap: 40px;
    }

    .problem__image {
        max-width: 100%;
    }

    .reviews__list-item {
        padding: 40px 20px 40px 25px;
    }

    .brands__list{
        gap: 40px;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
}


@media(max-width: 900px) {
    .descr__list-item {
        padding: 40px 20px 40px;
    }

    .problem__content {
        max-width: 380px;
    }

    .reviews__list {
        flex-wrap: wrap;
        justify-content: space-around
    }

    .reviews__inner {
        padding: 80px 20px 80px;
    }

    .about__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 0;
        padding: 70px 0;
    }

    .about__list-item+.about__list-item {
        border-left: 0
    }

    .about__list-item:nth-child(2),
    .about__list-item:nth-child(4){
        border-left: 1px solid #CDA274;
    }

    .footer__descr{
        margin-right: 0;
        margin: 0 auto;
        text-align: center;
    }

    .footer__list{
        justify-content: center;
    }

    .footer__panels{
        display: block;
    }

    .footer__top{
        flex-direction: column;
    }

    .footer__contact {
        text-align: center;
        margin: 0 auto;
    }

    .footer__pages,
    .footer__explore {
        text-align: center;
    }

    .panels{
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }

    .accordion {
        display: block;
    }

    .accordion {
        margin: 0 auto 20px;
        background-color: transparent;
        cursor: pointer;
        padding: 18px;
        width: 200px;
        text-align: left;
        border: 1px solid #dadada;
        outline: none;
        transition: 0.4s;
        border-radius: 10px;
    }


    .panel {
        padding: 0 18px;
        background-color: transparent;
        display: none;
        overflow: hidden;
        margin: 0 auto;
        max-width: 200px;
        margin-bottom: 30px;
    }

    .accordion:after {
        content: '\02795';
        font-size: 13px;
        color: #777;
        float: right;
        margin-left: 5px;
    }

    .active:after {
        content: "\2796";
    }

}


@media(max-width: 800px) {

    body {
        font-size: 20px;
        line-height: 28px;
    }

    .menu-btn {
        display: block;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 50px;
        background-color: #CDA274;
        cursor: pointer;
    }

    .menu-btn {
        position: relative;
        z-index: 10
    }

    .menu__list {
        display: flex;
        gap: 25px;
        position: absolute;
        z-index: 5;
        font-weight: 600;
        background-color: rgba(244, 240, 236, 0.95);
        flex-direction: column;
        height: 100vh;
        padding-top: 200px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        align-items: center;
        transform: translateX(-100%);
        transition: all .3s;
    }

    .menu__list-item {
        transition: all .3s;
    }

    .menu__list-item:hover {
        color: #CDA274;
    }

    .menu__list.menu__list--active {
        transform: translateY(0);
    }

    .menu-span {
        display: block;
        background-color: #F4F0EC;
        width: 18px;
        height: 2px;
        margin: 0 auto;
    }

    .menu-span+.menu-span {
        margin-top: 4px;
    }

    .header__title {
        font-size: 57px;
        line-height: 60px;
    }

    .descr__list {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .descr__list-item {
        max-width: 280px;
    }

    .descr__list-text {
        margin: 20px 0 30px;
    }

    .problem__inner {
        flex-direction: column;
    }

    .problem__content {
        max-width: 90%;
        text-align: center;
    }

    .problem__phone {
        justify-content: center;
    }

    .problem__title {
        font-size: 40px;
        line-height: 50px;
    }

    .problem__subtitle {
        margin: 30px 0 30px;
    }

    .problem__phone {
        margin-bottom: 30px;
    }

    .reviews__list{
        gap: 30px;
    }

    .reviews__list-item {
        max-width: 260px;
    }

    .reviews__title{
        font-size: 40px;
    }

    .projects__title{
        font-size: 40px;
    }

    .projects__content-name {
        font-size: 22px;
        line-height: 24px;
    }

    .projects__descr-span, .blogs__descr-span {
        width: 50px;
        height: 50px;
    }

    .blogs__item-title{
        font-size: 22px;
        line-height: 28px;
    }

    .blogs__title {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 0;
    }
    
    .join__inner {
        padding: 40px 20px;
    }

    .join__title {
        font-size: 40px;
        line-height: 50px;
    }

    .footer__bottom{
        margin-top: 50px;
    }

}

@media(max-width: 700px){
    .footer__bottom{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .footer__bottom{
        margin-top: 10px;
    }

}


@media(max-width: 620px) {
    .header__content-inner {
        padding: 100px 0 150px;
    }

    .header__content {
        border-radius: 0px 0px 0px 80px;
    }

    .reviews__list-item {
        max-width: 100%;
    }

    .reviews__name {
        margin-bottom: 15px;
    }

    .about__list-title {
        margin-bottom: 0;
    }

    .blogs__item-title {
        font-size: 18px;
        line-height: 23px;
    }

    .blogs__list-item {
        max-width: 390px;
        padding: 21px 14px 30px;
    }

    .blogs__subtitle{
        margin-bottom: 25px;
    }

    .blogs__image-descr {
        bottom: 20px;
        left: 15px;
        font-size: 18px;
        padding: 8px;
    }

}

@media(max-width: 500px) {

    .header,
    .descr,
    .problem,
    .reviews,
    .brands,
    .projects,
    .about,
    .blogs,
    .join {
        margin-bottom: 70px;
    }

    .header__title {
        font-size: 40px;
        line-height: 40px;
        max-width: 300px;
    }

    .header__subtitle {
        font-size: 18px;
    }

    .header__link,
    .problem__link {
        padding: 22px 16px;
        height: 60px;
        gap: 14px;
    }

    .descr__list-item {
        padding: 30px 10px 20px;
    }

    .descr__list-title {
        font-size: 22px;
    }

    .descr__list-text {
        line-height: 28px;
        margin: 10px 0 10px;
    }

    .problem__title {
        font-size: 30px;
        line-height: 40px;
    }

    .problem__subtitle {
        line-height: 28px;
    }

    .phone__content-text {
        font-size: 18px;
        line-height: 28px;
    }

    .phone__img {
        width: 60px;
        height: 60px;
    }

    .reviews__title{
        font-size: 30px;
        line-height: 40px;
    }

    .reviews__inner {
        padding: 40px 20px 40px;
        border-radius: 50px;
    }

    .projects__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .projects__title{
        margin-bottom: 0;
        font-size: 30px;
        line-height: 40px;
    }

    .projects__subtitle{
        margin-bottom: 20px;
    }

    .about__list-title{
        font-size: 70px;
        line-height: 100px;
    }

    .about__list-subtitle{
        font-size: 18px;
    }

    .blogs__list{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .blogs__title {
        font-size: 30px;
    }

    .join__inner{
        border-radius: 40px
    }

    .join__title {
        font-size: 30px;
        line-height: 30px;
    }



}