@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --white: #FFFFFF;
    --black: #000000;
    --primary-600: #996830;
    --primary-300: #C4A386;
    --primary-100: #E6D8CC;
    --neutral-900: #2C2C2C;
    --neutral-700: #444444;
    --neutral-500: #7C7C7C;
    --neutral-300: #D9D9D6;
    --neutral-100: #E5E5E5;
}
.carousel {
    position: relative;
    height: 640px;
}
* {
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
  }
a {
    text-decoration: none;
}
hr {
    height: 1px;
    border-color: var(--neutral-300);
    margin: 0;
}
.container {
    width: 1280px;
    margin: 0 auto;
    padding: 0 32px 0 32px;
}
header .container {
    height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    width: 180px;
    height: 30px;
}
header .menu {
    width: 451px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .menu .menu_item {
    padding: 0 16px;
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    transition: all 0.3s;
}
header .menu .menu_item:hover {
    color: var(--primary-600);
}
header .menu .menu_item:active {
    color: var(--primary-600);
}
header .menu .active {
    color: var(--primary-600);   
}
.main_menu {
    display: flex;
    justify-content: space-between;
    width: 302px;
}
.menu_item_btn {
    padding: 12px 20px;
    background: var(--primary-600);
    color: var(--white);
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    width: max-content;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.menu_item_btn:hover {
    background: var(--primary-300);
}

.main {
    padding: 80px 0 47px 0;
}
.main h1 {
    color: var(--neutral-900);
    font-family: "Playfair Display";
    text-align: center;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 96px; /* 133.333% */
}
.main .main_descr {
    margin-top: 24px;
    color: var(--neutral-700);
    text-align: center;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px; /* 160% */
}

.carousel_slide {
    width: 100%;
    height: 640px;
    background: center center/cover no-repeat;
}
.slide_1 {
    background-image: url('../img/slide-1.jpg');
}
.slide_2 {
    background-image: url('../img/slide-2.jpg');
}
.slide_3 {
    background-image: url('../img/slide-3.jpg');
}

.awards {
    background: var(--neutral-900);
    padding: 24px 0;
}
.awards .awards_wrap {
    padding: 0 78px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 56px;      
}
.awards .awards_item {
    display: flex;
    align-items: center;
}
.awards .awards_name {
    margin-left: 12px;
    color: var(--neutral-300);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
}

.title {
    color: var(--primary-600);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    letter-spacing: 1.4px;
}
.title::before {
    display: inline-block;
    margin: 0 16px 6px 0;
    height: 1px;
    content: " ";
    background-color: var(--primary-600);
    width: 64px;
}
.subtitle {
    margin-top: 24px;
    color: var(--neutral-900);
    font-family: "Playfair Display";
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 72px; /* 120% */
}
.half {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;  
}

.about {
    padding: 128px 0 80px 0;
}
.about .about_descr {
    padding: 66px 0;
}
.about .about_text {
    margin-top: 24px;
    margin-bottom: 0;
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px; /* 177.778% */
}
.about .metrics {
    margin-top: 128px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;    
}
.about .about_img {
    width: 49%;
    padding: 0 8px;
}
.about .about_img_1 {
    margin-bottom: 80px;
}
.about .about_img_2 {
    margin-top: 80px;
}
.about .metric_item {
    display: flex;
    align-items: center;
}
.number {
    margin-right: 16px;
    color: var(--neutral-900);
    font-family: "Playfair Display";
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 72px; /* 120% */
    letter-spacing: -1.5px;
    font-variant-numeric: lining-nums proportional-nums;
}
.about .text {
    color: var(--neutral-900);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.7px;
}

.services {
    padding: 160px 0 112px 0;
}
.services .subtitle {
    width: 940px;
}
.services .services_content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
}
.services .service_item {
    padding: 40px;
    border: 1px solid var(--primary-100);
}
.services .service_icon {
    width: 48px;
    height: 48px;
}
.services .service_name {
    margin-top: 80px;
    color: var(--neutral-900);
    font-family: "Playfair Display";
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 133.333% */
}
.services .service_descr {
    margin-top: 16px;
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px; /* 177.778% */
}

.works {
    padding: 112px 0;
    position: relative;
}
.works .work_img {
    width: 100%;
}
.works .col-2 {
    padding: 0 56px;
}
.works .col-1 .work_item {
    margin: 96px 0;
}
.works .work_name {
    color: var(--neutral-900);
    font-family: "Playfair Display";
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 133.333% */
    margin-top: 24px;
}
.works .work_descr {
    margin-top: 16px;
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px; /* 177.778% */
}
.works .col-2 .work_name {
    margin-top: 16px;
}
.works .work_item_3 {
    margin-top: 80px;
}
.works .menu_item_btn {
    position: absolute;
    bottom: 168px;
}

.contacts {
    padding: 80px 0;     
}
.contacts .container {   
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contacts .section_1 {
    width: 592px;
}
.contacts .section_2 {
    width: 272px;
}
.contacts .subtitle {
    font-size: 48px;
    line-height: 60px; /* 125% */
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}
.contacts .subhead {
    margin-top: 16px;
    color: var(--primary-600);
    font-family: "Playfair Display";
    font-size: 48px;
    font-style: italic;
    font-weight: 400;
    line-height: 60px; /* 125% */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}
.contacts .city {
    color: var(--neutral-900);
    font-family: "Playfair Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 133.333% */
}
.contacts .house {
    margin-top: 8px;
    color: var(--neutral-900);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 171.429% */
}
.contacts .contacts_item {
    margin-top: 32px;
}
.contacts .contacts_descr {
    color: var(--neutral-900);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 171.429% */
}
.contacts .contacts_content {
    margin-top: 8px;
    color: var(--primary-600);
    font-family: "Playfair Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 133.333% */
    font-variant-numeric: lining-nums proportional-nums;
    transition: all 0.3s;
}
.contacts .contacts_content:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

footer {
    padding: 80px 0;
}
footer .social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}
footer .copyright {
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 41px; /* 150% */
}
footer .social_text {
    color: var(--neutral-700);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    letter-spacing: 1.4px;
    margin-right: 24px;
}
footer .social_text::after {
    display: inline-block;
    margin: 0 0 6px 16px;
    height: 1px;
    content: " ";
    background-color: var(--neutral-700);
    width: 64px;
}
footer .social_media {
    width: 168px;
    display: flex;
    justify-content: space-between;
}
footer .social_icon {
    padding: 10px;
    /* width: 40px;
    height: 40px; */
}
footer .social_round {
    border-radius: 50%;
    border: solid 1px var(--primary-100);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
footer .social_round:hover {
   border-color: var(--primary-300); 
}

.slick-prev, .slick-next {
    border: none;
    border-radius: 44px;
    background: rgba(217, 217, 217, 0.50);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 44px;
    height: 44px;
}
.slick-prev {
    left: 11px;
}
.slick-next {
    right: 20px;
}
.slick-prev img, .slick-next img {
    opacity: 0.6;
}
.slick-prev img:hover, .slick-next img:hover {
    opacity: 1;
}

.hamburger {
    display: none;
}
.menu_pop {
    display: none;
}


@media (max-width: 1279px) {
    .container {
        width: 768px;
        margin: 0 auto;
        padding: 0 40px 0 40px;
    }
    .half {
        display: grid;
        grid-template-columns: 1fr;
    }
    .main {
        padding: 80px 0;
    }
    .services .services_content {
        display: grid;
        grid-template-columns: 1fr;
    }
    .carousel {
        height: 568px;
    }
    .carousel_slide {
        height: 568px;
    }
    .awards .awards_wrap {
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;   
        grid-template-rows: repeat(2, 1fr);  
        row-gap: 32px;
    }
    .about {
        padding: 96px 0 48px 0;
    }
    .about .about_descr {
        padding: 0;
    }
    .about .about_photo {
        margin-top: 112px;
    }
    .about .about_img_1 {
        margin-bottom: 93px;
    }
    .about .about_img_2 {
        margin-top: 93px;
    }
    .about .metrics {
        margin-top: 96px;
    }
    .about .metric_item {
        flex-direction: column;
        align-items: flex-start;
    }
    .about .text {
        margin-top: 8px;;
    }
    .services {
        padding: 144px 0 96px 0;
    }
    .services .subtitle {
        width: 100%;
    }
    .works {
        padding: 96px 0;
    }
    .works .menu_item_btn {
        position: static;
    }    
    .works .col-1 .work_item {
        margin: 48px 0 80px 0;
    }
    .works .col-2 {
        padding: 0 0 48px 0;
    }
    .contacts .section_2 {
        margin-top: 48px;
    }
    footer .social {
        margin-top: 32px;
        justify-content: flex-start;
    }
    .slick-prev {
        left: 7px;
    }
    .slick-next {
        right: 16px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 355px;
        padding: 0 20px 0 20px;
    }
    header .logo {
        width: 122px;
    }
    header .menu {
        width: auto;
    }
    .main h1 {
        font-size: 48px;
        line-height: 60px;
    }
    .main .main_descr {
        font-size: 18px;
    }
    .carousel {
        height: 422px;
    }
    .carousel_slide {
        height: 422px;
    }
    .awards .awards_wrap {
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(4, 1fr);  
        row-gap: 24px;
    }
    .subtitle {
        font-size: 36px;
        line-height: 48px;
    }
    .about {
        padding: 48px 0;
    }
    .about .about_photo {
        margin-top: 80px;
    }
    .about .about_img {
        padding: 0 4.5px;
    }
    .about .about_img_1 {
        margin-bottom: 45px;
    }
    .about .about_img_2 {
        margin-top: 45px;
    }
    .about .metrics {
        margin-top: 48px;
        grid-template-columns: 1fr;
        gap: 32px; 
        grid-template-rows: repeat(3, 1fr);   
    }
    .about .metric_item {
        flex-direction: row;
        align-items: center;
    }
    .about .text br {
        display: none;
    }
    .about .number {
        font-size: 48px;
        line-height: 60px;
    }
    .services {
        padding: 48px 0 48px 0;
    }
    .services .services_content {
        margin-top: 40px;
    }
    .services .service_item {
        padding: 32px;
    }
    .services .service_name {
        margin-top: 24px;
        font-size: 30px;
        line-height: 40px;
    }
    .works {
        padding: 48px 0;
    }
    .works .col-1 .work_item {
        margin: 48px 0 40px 0;
    }
    .works .work_name {
        font-size: 24px;
        line-height: 32px;
    }
    .works .work_descr {
        font-size: 14px;
        line-height: 24px;
    }
    .works .work_item_3 {
        margin-top: 40px;
    }
    .contacts {
        padding: 48px 0 40px 0;
    }
    .contacts .subtitle {
        font-size: 30px;
        line-height: 40px;
    }
    .contacts .subhead {
        margin-top: 8px;
        color: var(--primary-600);
        font-family: "Playfair Display";
        font-size: 30px;
        line-height: 40px;
    }
    footer {
        padding: 40px 0;
    }
    footer .social_media {
        margin-top: 16px;
    }
    .slick-prev {
        left: 8px;
    }
    .slick-next {
        right: 14px;
    }
    .main_menu {
        display: none;
    }
    .hamburger {
        display: block;
        width: 24px;
        height: 18px;
    }
    .menu_open {
        width: 100%;
        height: 211px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid var(--primary-300);
        border-bottom: 1px solid var(--primary-300);
        background: var(--white);
        position: fixed;    
        top: 0;
        right: -100%;
        z-index: 10;
    }
    .menu_open_active {
        right: 0;        
    }
    .menu_pop_wrap {
        width: 85%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .menu_open_item {
        color: #000;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px; /* 150% */
    }
    .menu_open_item:active {
        color: var(--primary-600);
    }
    .menu_pop .active {
        color: var(--primary-600);   
    }
    .close_btn {
        border: none;
        background-color: transparent;
        display: flex;
        align-items: flex-start;
    }
}