@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Plus+Jakarta+Sans:regular,500,600,700,800,200italic,300italic,italic,500italic,600italic,700italic,800italic");

body {
    font-family: "Plus Jakarta Sans";
    color: #5e6282;
}

[class*="__conteiner"] {
    max-width: 1230px;
    padding: 0px 15px;
    margin: 0 auto;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

.wrapper>main {
    flex-grow: 1;
}

.page {}

.page__hero {
    margin-bottom: 170px;
}

.page__reviews,
.page__services,
.page__features {
    margin-bottom: 200px;
}

.page__location {
    margin-bottom: 240px;
}


.header-block_label {
    font-weight: 800;
    text-transform: uppercase;
    color: #4475f2;
    font-size: 18px;
    line-height: 128%;
    letter-spacing: 2px;
}

.header-block_label:not(:last-child) {
    margin-bottom: 10px;
}

.header-block__title {
    font-weight: 800;
    color: #000;
    font-size: 48px;
    line-height: 135.416667%;
}

.header-block--margin {
    margin-bottom: 90px;
}

/* header */

.header {
    /* position: sticky;
    top: 0;*/
    padding-top: 77px;
    position: relative;
    z-index: 50;
}

.header__conteiner {
    display: flex;
    align-items: center;
    gap: 125px;
}

.header__logo {
    flex: 0 0 80px;
}

.header__logo img {
    max-width: 100%;
}

.header__menu {}

.menu__list {
    display: flex;
    align-items: center;
    column-gap: 40px;
    row-gap: 13px;
    flex-wrap: wrap;
}

.menu_item {}

.menu__link {
    font-size: 14px;
    color: #9a9ea6;
    transition: color 0.3s;
    text-shadow: 0px 0px 1px #fff;
}

.menu__link:hover {
    color: #4737ff;
}

/* Hero */

.hero {
    padding-top: 62px;
    padding-bottom: 40px;
    position: relative;
}

.hero__conteiner {
    display: flex;
}

.hero__conteiner::before,
.hero__conteiner::after {
    content: "";
    position: absolute;
    background-color: #4475F2;
    box-shadow: 0 30px 60px 0 rgba(71, 74, 87, 0.25);
    height: 150%;
    transform-origin: left bottom;
    width: 200vw;
    border-radius: 50px;
    bottom: 0;
}

.hero__conteiner::before {
    left: calc(50% + 30px);
    transform: skewX(-20deg);
}

.hero__conteiner::after {
    transform: skewX(31deg);
    left: calc(50% + 444px);
}

.hero__content {
    flex: 0 1 50%;
}

.content__hero {
    display: grid;
    align-content: start;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.content__title {
    font-size: 76px;
    line-height: 117.105263%;
    font-weight: 800;
    color: #181E4B;
    letter-spacing: -4px;
}

.content__title a {
    color: #4475F2;
    text-decoration: underline;
    text-shadow: 0px 0px 8px #fff;
}

.content__title a:hover {
    text-decoration: none;
}

.content-hero__text {}

.content-hero__text p {
    line-height: 187.5%;
}

.content-hero__text p:not(:last-child) {
    margin-bottom: 10px;
}

.content-hero__button {
    box-shadow: 0 30px 60px 0 rgba(68, 117, 242, 0.25);
    border-radius: 10px 10px 10px 10px;
    background-color: #4475F2;
    padding: 18px 54px;
    color: #fff;
    font-weight: 700;
    line-height: 156.25%;
    position: relative;
    top: 0;
    transition: all 0.3s;
    text-align: center;
}

.content-hero__button:hover {
    top: 5px;
    box-shadow: 0 30px 60px 0 rgba(68, 117, 242, 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__item--01 {
    grid-row: span 2;
    align-self: end;
    padding-bottom: 10px;
}

.images-hero__image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .25);
}

.images-hero__item--02 {}

.images-hero__item--03 {
    padding-bottom: 10px;
    grid-row: span 2;
    align-self: center;
    justify-self: end;
}

.images-hero__item--04 {
    align-self: end;
    justify-self: end;
}

/* Features */

.features {}

.features__conteiner {}

.features__items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.features__item {
    flex: 0 1 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-color: #4475F2;
    height: 100px;
    width: 100px;
    box-shadow: 0 30px 60px 0 rgba(71, 74, 87, 0.25);
}

.features__title {
    color: #000;
    font-weight: 700;
    font-size: 24px;
}

.features__text {
    line-height: 187.5%;
}

/* Services */

.services {}

.services__items {
    display: grid;
    gap: 140px;
}

.services__item {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.services__content {
    flex: 1 1 250px;
}

.services__title {
    color: #000;
    font-weight: 500;
    font-size: 32px;
    line-height: 125%;
}

.services__title:not(:last-child) {
    margin-bottom: 40px;
}

.services__title span {
    color: #4475F2;
}

.services__text {}

.services__text p {
    line-height: 187.5%;
}

.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%;
}

/* Reviews */

.reviews {}

.reviews__conteiner {}

.reviews__body {}

.reviews__items {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.reviews__item {
    flex: 1 1 280px;
    padding: 40px;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    box-shadow:
        0 2.767256498336792px 2.2138051986694336px 0 rgba(0, 0, 0, 0.02),
        0 6.650102138519287px 5.32008171081543px 0 rgba(0, 0, 0, 0.03),
        0 12.521552085876465px 10.017241477966309px 0 rgba(0, 0, 0, 0.04),
        0 22.3363094329834px 17.869047164916992px 0 rgba(0, 0, 0, 0.04),
        0 41.777610778808594px 33.422088623046875px 0 rgba(0, 0, 0, 0.05),
        0 100px 80px 0 rgba(0, 0, 0, .07);
    border: 1px solid #dedede;
}

.reviews__item>* {
    margin-bottom: 15px;
}

.reviews__link-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 30px;
    overflow: hidden;
}

.reviews__avatar {

    width: 100%;
    height: 100%;
    object-fit: cover;

}

.reviews__text {
    flex-grow: 1;
    margin-bottom: 25px;
}

.reviews__text p {
    line-height: 187.5%;
}

.reviews__text p:not(:last-child) {
    margin-bottom: 10px;
}

.reviews__title {}

.reviews__link-title {
    color: #23A6F0;
    line-height: 187.5%;
}

.reviews__link-title:hover {
    text-decoration: underline;
}

.reviews__position {
    font-weight: 500;
    color: #000;
}

.reviews__item>*:last-child {
    margin-bottom: 0px;
}

/* Location */

.location {}

.location__header-block {}

.location__map {
    width: 100%;
    height: 405px;
    box-shadow: 0 30px 60px 0 rgba(71, 74, 87, 0.25);
}

.footer {}

.footer__body {
    margin-bottom: 95px
}

.footer__conteiner {
    display: flex;
    column-gap: 100px;
    row-gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer__items {}

.footer__item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.footer__title {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer__logo {
    max-width: 248px;

}

.footer__social {}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    height: 93px;
    align-items: center;
}

.social__item {}

.footer__link {
    height: 93px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-weight: 500;
}

.footer__link:hover {
    text-decoration: underline;
}

.footer__copy {
    text-align: center;
    color: #fff;
    background-color: #4475F2;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 15px;
    padding-right: 15px;
}