/* скидання стилів */
@import url("reset.css");

/* підключення шрифтів */
@import url("fonts.css");

body{
    font-family: "Plus Jakarta Sans";
    color: #b6acad;
    background-color: #f8ebcf;
}
.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

.wrapper > main {
    flex-grow: 1;
}

[class*="_container"]{
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.page {}

.page_hero {    
    margin-bottom: 170px;
}
.page_features,
.page__services,
.page_reviews {
    margin-bottom: 200px;
}
.page_location {
    margin-bottom: 240px;
}
@media (max-width:1200px){
    .page_hero{
        margin-bottom: 100px;
    }
    .page_features,
    .page__services,
    .page_reviews,
    .page_location {
        margin-bottom: 100px;
    }
}
@media(max-width:991.98px){
    .page_hero{
        margin-bottom: 60px;
    }
    .page_features,
    .page__services,
    .page_reviews,
    .page_location{
        margin-bottom: 60px;
    }
}
@media(max-width:767.98px){
    .page_hero{
        margin-bottom: 40px;
    }
    .page_features,
    .page__services,
    .page_reviews,
    .page_location{
        margin-bottom: 50px;
    }
}
@media (max-width:479.98px) {
    .page_hero {
        padding-top: 50px;
    }
    .page_features,
    .page__services,
    .page_reviews,
    .page_location{
        margin-bottom: 50px;
    }
}

/* Components */
.header-block {
    font-weight: 800;
}
.header-block--margin{
    margin-bottom: 90px;
}

.header-block_label:not(:last-child) {
    margin-bottom: 10px;
}

.header-block_label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e57734;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.27;
}

.header-block_title {
    color: #3e2922;
    font-size: 48px;
    line-height: 1.35;
}
@media(max-width:1200px){
    .header-block--margin {
        margin-bottom: 70px;
    }
}
@media(max-width:991.98px){
    .header-block--margin {
        margin-bottom: 50px;
        }
    .header-block_label{
       font-size: 16px;
    }
    .header-block_title {
        font-size: 42px
}
}
@media(max-width:767.98px){
    .header-block--margin {
        margin-bottom: 30px;
        }
    .header-block_label{
       font-size: 14px;
    }
    .header-block_title {
        font-size: 36px
}
}
@media(max-width:479.98px){
    .header-block--margin {
        margin-bottom: 20px;
    }
    .header-block_title {
        font-size: 32px
    }
}

/* Header */

.header {
    padding-top: 77px;
    position: relative;
    z-index: 50;
}
.header_container {
    display: flex;
    align-items: center;
    column-gap: 125px;
}
.header_logo {
    flex: 0 0 80px;
}
.header_logo img{
    max-width: 100%;
    min-height: 100%;
}
.header_menu {}
.menu {}
.menu_list {
    display: flex;
    column-gap: 40px;
    row-gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.menu_item {}

.menu_link {
    font-size: 14px;
    color: #f7ba9c;
    transition: color 0.3s;
}
.menu_link:hover {
    color: #e57734;
}
@media (max-width: 991.98px) {
    .header_container {
        column-gap: 50px;
    }
    .menu_list {
        column-gap: 20px;
    }
}  
@media (max-width: 479.98px) {
    .header {
        padding-top: 15px;
    }

    .header_container {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    .header_logo {
        max-width: 150px;
        flex: 0 0 auto;
    }
    .menu_list {
        justify-content: center;
    }
    .menu-link {
        font-size: 20px;
    }
}
/* Hero */

.hero {
    padding-top: 62px;
    padding-bottom: 40px;
    position: relative;
}
.hero_container {
    display: flex;
}
@media (max-width:1200px){
    .hero_container{
        flex-direction: column;
        row-gap: 30px;
    }
}
.hero_container::before,
.hero_container::after{
    content: "";
    position: absolute;
    background-color: #01757a;
    height: 150%;
    transform-origin: left bottom;
    box-shadow: 0px 30px 60px 0px rgba(71, 74, 87, 0.25);
    width: 200vw;
    border-radius: 50px;
    bottom: 0;
}
.hero_container::before{
    left: calc(50% + 30px);
    transform: skewX(-20deg);
}
.hero_container::after{
    left: calc(50% + 444px);
    transform: skewX(31deg);
}
.hero_content {
    flex: 0 1 50%;
}
.content-hero {
    display: grid;
    align-content: start;
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (min-width:1200px){
    .content-hero{
    padding-right: 20px;
    }
}
@media (min-width: 479.98px) {
    .content-hero {
        justify-items: start;
    }
}

.content_title {
    font-weight: 800;
    font-size: 76px; 
    color: #3e2922;
    line-height: 1.17; /* 89/76 */
    letter-spacing: -4px;
}

@media (max-width: 991.98px){
    .content_title{
        font-size: 55px;
    }
}
@media (max-width: 479.98px) {
    .content_title {
        font-size: 42px;
    }
}
.content_title a {
    color:#e57734;
    text-decoration: underline;
    text-shadow: 0px 0px 8px #fff;
}

.content_hero-text {}
.content_hero-text p{
    line-height: 1.87; /* 30/16 */
}
.content_hero-text p:not(:last-child){
    margin-bottom: 10px;
}
.content-hero_button {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 30px 60px 0px rgba(1, 117, 122, 0.25);
    background-color: #01757a;
    padding: 18px 54px;
    color: #f6c0a6;
    font-weight: 700;
    line-height: 1.56; /* 25/16 */
    position: relative;
    top: 0;
    transition: all 0.3s;
}
@media (max-width: 479.98px) {
    .content-hero_button {
        max-width: 230px;
    }
}
.content-hero_button:hover {
    top: 3px;
    box-shadow: 0px 30px 60px 0px rgba(1, 117, 122, 0.5);;
}
.hero_images {
    flex: 0 1 50%;
}
.images-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 27px;
}
.images-hero_item {}
.images-hero_image {
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .25)
}
.images-hero_item--01 {
    grid-row: span 2;
    align-self: end;
    padding-bottom: 10px;
}
.images-hero_item--02 {}

.images-hero_item--03 {
    align-self: center;
    justify-self: end;
    grid-row: span 2;
    padding-bottom: 10px;
}
.images-hero_item--04 {
    align-self: end;
    justify-self: end;
}

@media (max-width: 1200px){
    .images-hero{
        align-self: center;
    }
}
.header_pre-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #01757a;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.27;
}
.header_title {
    color: #3e2922;
    font-size: 48px;
    line-height: 1.35;
    margin-bottom: 90px;
}

/* FEATURES-block */

.features{
}
.features_container{

}
.features_items {
    display: flex;
    flex-wrap: wrap;
    gap: 20PX;
    justify-content: space-between;
}
.features_item {
    flex: 0 0 280px;
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.features_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #01757a;
    height: 100px;
    width: 100px;
    box-shadow: 0 30px 60px 0 rgba(1, 117, 122, 0.25);
}
.features_title {
    color: #3e2922;;
    font-size: 24px;
    font-weight: 700;
}
.features_text {
    font-size: 1.87; /* 30/16 */
    font-weight: 500;
    color: #b6acad;
}

/* SERVISEC-block */

.services {
}
.services__container {
}
.services__header-block {
}
.services__items {
	display: grid;
	gap: 140px;
}
@media (max-width: 1200px) {
	.services__items {
		gap: 100px;
	}
}
@media (max-width: 991.98px) {
	.services__items {
		gap: 70px;
	}
}
@media (max-width: 767.98px) {
	.services__items {
		gap: 40px;
	}
}
.services__item {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}
.services__content {
	flex: 1 1 250px;
}
.services__title {
	color: #3e2922;
	font-weight: 500;
	font-size: 32px;
	line-height: 125%; /* 40/32 */
}
.services__title:not(:last-child) {
	margin-bottom: 40px;
}
.services__title span {
	color: #e57734;
}
.services__text {
}
.services__text p {
	line-height: 187.5%; /* 30/16 */
}
.services__text p:not(:last-child) {
	margin-bottom: 15px;
}
.services__picture {
	box-shadow: 0 30px 60px 0 rgba(71, 74, 87, 0.25);
	border-radius: 10px 10px 10px 10px;
	max-width: 100%;
}
@media (min-width: 768px) {
	.services__body {
		max-width: 420px;
	}
	.services__item {
		align-items: flex-start;
	}
	.services__item:nth-child(odd) {
		flex-direction: row-reverse;
	}
	.services__item:nth-child(odd) .services__body {
		margin: 0 0 0 auto;
	}
	.services__image {
		flex: 1 1 250px;
	}
}
@media (max-width: 767.98px) {
	.services__item {
		flex-direction: column;
	}
	.services__image {
		text-align: center;
	}
	.services__title {
		font-size: 28px;
	}
	.services__title:not(:last-child) {
		margin-bottom: 20px;
	}
}

/* REVIEWS-block */

.reviews {
}
.reviews_container {
}
.reviews__header-block {
}
.reviews_body {
}
.reviews_items {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.reviews_item {
    flex: 1 1 280px;
    border: 1px solid rgb(222, 222, 222);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0px 2.77px 2.21px 0px rgba(0, 0, 0, 0.02),
                0px 6.65px 5.32px 0px rgba(0, 0, 0, 0.03),
                0px 12.52px 10.02px 0px rgba(0, 0, 0, 0.04),
                0px 22.34px 17.87px 0px rgba(0, 0, 0, 0.04),
                0px 41.78px 33.42px 0px rgba(0, 0, 0, 0.05),
                0px 100px 80px 0px rgba(0, 0, 0, 0.07);
}
.reviews_item > * {
margin-bottom: 15px;
}
.reviews_item > *:last-child {
    margin-bottom: 0px;
}
.reviews_link-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}
.reviews_avatar{
    margin-bottom: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reviews_text {
    flex-grow: 1;
    margin-bottom: 25px;
    color: #b6acad;
}
.reviews_text p {
    line-height: 1.87; /* 30/16 */
}
.reviews_text p:not(:last-child){
    margin-bottom: 10px;
}
.reviews_title {
}
.reviews_link-title {
    color: #e57734;
    line-height: 1.87;
}
.reviews_link-title:hover{
    text-decoration: underline;
}
.reviews_position {
    font-weight: 500;
    color: #3e2922;
}

/* LOCATION-block */

.location {}

.location_container {}

.location__header-block {}

.locaion_map {
    width: 100%;
    box-shadow: 0 30px 60px 0 rgba(71, 74, 87, 0.25);
    height: 405px;
}

/* FOOTER-block */
.footer {}

.footer_body {
    margin-bottom:95px;
}

.footer_container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 100px;
    row-gap: 30px;
    justify-content: center;
}

.footer_item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.footer_title {
    color: #3e2922;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer_logo {
    min-width: 248px;
}

.footer_social {}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    height: 93px;
    align-items: center;
}
.social_item {}

.foooter_link {
    height: 93px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    color: #3e2922;
}
.foooter_link:hover{
    text-decoration: underline;

}
.footer_copy {
    text-align: center;
    color: #e57734;
    background-color: #01757a;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-wdth: 1200px){
    .footer_body {
        margin-bottom: 70px;
    }
}
@media (max-wdth: 991.98px) {
    .footer_body {
        margin-bottom: 50px;
    }
}
@media (max-wdth: 767.98px) {
    .footer_body {
        margin-bottom: 30px;
    }
}
