/*  --------------------HEADER---------------------- */

.header {
    max-height: 90px;
}
.header__container {
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo p{
    color: #1b1a1a;
    font-size: 20px;
}
.logo span{
    font-weight: bold;
    color: #1b1a1a;
    font-size: 18px;
    line-height: 1.5;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    line-height: 1.6;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 14px;
    width: 155px;
    height: 46px;
    background: #1b1a1a;
    color: #fff;
    transition: opacity 0.6s;
}
.btn:hover {
    opacity: 0.8;
    color: #fff;
}
.btn:active {
    opacity: 0.7;
    color: #fff;
}
/* --------------------------WELCOME----------------------- */
.welcome {
    background: #ECE7E4;
    display: flex;
    max-height: 720px;
}

.welcome__container {
    max-width: 509px;
    margin: auto;
}

.sup__title {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.welcome__title {
    margin-bottom: 18px;
}
.welcome__subtitle {
    margin-bottom: 30px;
}
.welcome__readmore {
    width: 133px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* -----------------------------OUR FIRM---------------------- */

.firm__desc-container {
    max-width: 768px;
    margin: 100px auto;
    display: flex;
    gap: 132px;
}

.firm__desc-title {
    font-size: 32px;
    line-height: 1.19;
    color: #403e3b;
}

.firm__desc-text {
    max-width: 501px;
    
}

.desc-paragraph {
    color: #403e3b;
    margin-bottom: 10px;
}

.person__block  {
    max-width: 280px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.person {
  object-fit: cover;
}
.person-name {
    display: flex;
    flex-direction: column;
    line-height: 12px;
}
/* -------------------------------CARD------------------- */
.card-1 {
    background: url(images/card1.jpg);
}
.card-2 {
    background: url(images/card2.jpg);
}
.card-3 {
    background: url(images/card3.jpg);
}
.card {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 52vh;
    padding: 40px 0;
}
.card__desc {
    width: 285px;
    margin-right: 75px;
}

.card__title {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #403e3b;
}
.card-3 {
    justify-content: flex-start;
}
.card-3 .card__desc {
    margin-right: 0;
    margin-left: 75px;
}
/* ---------------------------------COSTOMERS------------------------- */
.costomers {
    width: 100%;
    padding: 60px 0;
    background: #403e3b;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.costomers__desc {
    max-width: 470px;
    color: #ECE7E4;
}
.costomers__desc span {
    color: #ECE7E4;
}
.costomers__desc h3 {
    color: #fff;
    margin-bottom: 14px;
}

.costomers__wrapper {
    max-width: 433px;
    display: flex;
    flex-wrap: wrap;
    gap: 96px;
}
/* ---------------------------PROCESS----------------------- */



.process {
    margin: 100px auto;
}

.process__title {
    text-align: center;
}


.process__wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.process__desc {
    max-width: 378px;
    height: 259px;

    text-align: center;
}
.process__desc h4 {
    font-size: 18px;
    line-height: 1.44;
    color: #403e3b;
    margin-bottom: 10px;
}
.process__img {
    max-width: 117px;
    height: 102px;

    background: #403e3b;
    border-radius: 50%;
    margin: 0 auto 15px;

    display: flex;
    justify-content: center;
    align-items: center;

}
.process__img img {
    height: 28px;
}

/* ------------------------------PROJECTS---------------------- */

.projects {
    background-color: #F7F7F7;
    padding: 120px 0 60px;
}

.projects__desc {
    max-width: 420px;
    margin-bottom: 40px;
}

.projects__gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.work-1,.work-2,.work-3 {
    position: relative;
}
.work-2__desc {
    position: absolute;
    left: 40px;
    top: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}
.work-2__desc span {
    color: #fff;
}
.works:hover img {
    filter: brightness(50%);
}
.works:hover .work-2__desc {
    opacity: 1;
}
.projects__btn {
    margin-top: 280px;
}
.projects-footer {
    text-align: center;
    margin-top: 40px;
}

.view-all {
    margin: 11px 20px;
    letter-spacing: 0.03em;
    text-align: center;
    color: #1b1a1a;
}
/* ---------------------------------NEWS------------------------- */

.news {
    padding: 60px 0;
    background: #CEC4BC;
}

.news .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news__title {
    max-width: 576px;
}
/* -------------------------TEAM------------------------ */

.team-footer {
    margin-top: 40px;
}

.team__container {
    display: flex;
    gap: 16px;
    margin: 100px auto;
}

.team__desc {
    max-width: 380px;
}

.team__wrapper {
    max-width: 774px;
    display: flex;
    column-gap: 114px;
    row-gap: 36px;
    flex-wrap: wrap;
}
/* ---------------------------------CONTACT---------------------- */

.footer .container {
    margin: 60px auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    margin-bottom: 20px;
}
.footer-logo a {
    display: inline-block;
}
.social {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}