/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
a,
body {
    color: #000;
}
body {
    min-width: 320px;
    margin: 0;
    padding: 0;
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.03em;
    background-color: #fff;
}
details,
main {
    display: block;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
a {
    background-color: transparent;
    text-decoration: none;
}
abbr[title] {
    border-bottom: none;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}
b,
strong {
    font-weight: bolder;
}
small {
    font-size: 80%;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
img {
    border-style: none;
    max-width: 100%;
    height: auto;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button,
input {
    overflow: visible;
}
button,
select {
    text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    padding: 0.35em 0.75em 0.625em;
}
legend {
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal;
}
progress {
    vertical-align: baseline;
}
textarea {
    overflow: auto;
}
[type="checkbox"],
[type="radio"],
legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
summary {
    display: list-item;
}
[hidden],
template {
    display: none;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}
*,
::after,
::before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
.btn {
    border-radius: 90px;
    background: #000;
    border: 1px solid #000;
    letter-spacing: 0.03em;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 300;
    padding: 12px;
    text-align: center;
    min-width: 144px;
    cursor: pointer;
    color: #fff;
}
.btn--white {
    background: #fff;
    border: 1px solid #fff;
    color: #000;
}
.title {
    font-size: 40px;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 55px;
}
@media (max-width: 760px) {
    .title {
        font-size: 24px;
    }
}
.container {
    max-width: 945px;
    margin: 0 auto;
    padding: 0 10px;
}
@media (max-width: 1280px) {
    .container {
        max-width: 945px;
    }
}
@media (max-width: 1024px) {
    .container {
        max-width: 700px;
    }
}
@media (max-width: 760px) {
    .container {
        max-width: 375px;
    }
}
.header__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px 10px;
}
.header__contacts {
    display: flex;
    align-items: center;
}
.header__contacts-link {
    font-size: 14px;
    letter-spacing: 0.03em;
    padding-left: 40px;
    position: relative;
}
.header__contacts-link--email {
    margin-left: 20px;
}
.header__contacts-link::before {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -4px;
    left: 0;
    background-position: center;
    background-size: cover;
}
.header__contacts-link--phone::before {
    background-image: url(../img/sprite/icon-phone.svg);
}
.header__contacts-link--email::before {
    background-image: url(../img/sprite/icon-email.svg);
}
.header__login-link {
    margin-left: 16px;
    letter-spacing: 0.03em;
}
.header__main {
    background-image: url(../img/header-bg.jpg);
    background-size: cover;
    padding-top: 85px;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
}
.header__title {
    color: #fff;
    font-size: 75px;
    font-family: "Montserrat", "Arial", sans-serif;
    font-weight: 200;
    margin: 0;
    max-width: 700px;
    letter-spacing: 0.03em;
}
.header__title span {
    font-weight: 900;
}
.header__btns {
    text-align: center;
    padding: 25px;
}
.header__btns .header__btn {
    margin: 0 8px;
}
.header__btns span {
    margin-bottom: 10px;
    display: inline-block;
    color: #fff;
}
@media (max-width: 1024px) {
    .header__title {
        font-size: 65px;
    }
}
@media (max-width: 760px) {
    .header__title {
        font-size: 60px;
    }
    .header__title span {
        display: block;
    }
    .header__btns-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        max-width: 70%;
        margin: auto;
    }
    .header__btns .header__btn {
        margin: 0 0 24px;
    }
    .header {
        position: relative;
    }
    .header__contacts-link {
        font-size: 0;
        padding-left: 0;
    }
    .header__contacts-link::before {
        top: -15px;
        left: 50%;
    }
    .header__contacts-link--email {
        margin-left: 35px;
    }
}
.services__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.services__item {
    padding: 20px;
    max-width: 225px;
    min-height: 200px;
    -webkit-box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
    box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
}
.services__item-title {
    margin-left: 20px;
}
.services__item-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.services__item-text,
.reviews__item-text{
        text-align: justify !important;

}
@media (max-width: 1024px) {
    .services__list {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .services__item {
        width: 50%;
        max-width: 49%;
        margin-bottom: 15px;
    }
}
@media (max-width: 760px) {
    .services__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .services__item {
        width: 80%;
        max-width: 70%;
        margin-bottom: 30px;
    }
}
.why-us__item,
.why-us__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.why-us__list {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 50px 0;
}
.why-us__item {
    width: 33%;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.why-us__item svg {
    margin: auto;
}
.why-us__item-count {
    font-size: 40px;
}
.why-us__info {
    font-size: 14px;
}
@media (max-width: 760px) {
    .why-us__list {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .why-us__item {
        width: 100%;
        margin-bottom: 40px;
    }
}
.map__wrapper {
    background-color: #000;
    color: #fff;
    font-size: 20px;
    line-height: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
}
.map__info {
    padding: 35px;
    width: 50%;
}
.map__iframe {
    width: 50%;
    height: 100%;
}
.map__iframe iframe {
    min-height: 305px;
    display: block;
}
.map__social-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 40%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
@media (max-width: 760px) {
    .map__wrapper {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0;
    }
    .map__info {
        width: 100%;
        text-align: center;
    }
    .map__social-wrap {
        margin: auto;
        width: 80%;
    }
    .map__iframe {
        width: 100%;
    }
}
.reviews__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.reviews__item {
    width: 24%;
    max-width: 224px;
}

.reviews__item img {
    width: 67px;
    height: 67px;
    border-radius: 50%;
}

.reviews__item-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.reviews__item-name {
    margin-left: 10px;
}
.reviews__item-text {
    margin-top: 20px;
    line-height: 15px;
    font-weight: 200;
    font-family: "Montserrat", "Arial", sans-serif;
}
@media (max-width: 1024px) {
    .reviews__list {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .reviews__item {
        width: 50%;
        max-width: 40%;
        margin-bottom: 15px;
    }
}
@media (max-width: 760px) {
    .reviews__list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .reviews__item {
        width: 100%;
        max-width: 80%;
    }
}
.contacts {
    background-image: url(../img/footer-bg.jpg);
    color: #fff;
    background-size: cover;
    padding: 10px;
    margin-top: 70px;
}
.form {
    max-width: 305px;
    margin: 0 auto;
    text-align: center;
}
.form input,
.form textarea {
    width: 100%;
    background: 0 0;
    border: 1px solid #fff;
    margin-bottom: 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
}
.form input::-webkit-input-placeholder,
.form textarea::-webkit-input-placeholder {
    color: #fff;
    font-weight: 500;
}
.form input:-ms-input-placeholder,
.form input::-ms-input-placeholder,
.form textarea:-ms-input-placeholder,
.form textarea::-ms-input-placeholder {
    color: #fff;
    font-weight: 500;
}
.form input::placeholder,
.form textarea::placeholder {
    color: #fff;
    font-weight: 500;
}
.form textarea {
    min-height: 110px;
}
.contacts__copy {
    display: block;
    margin-top: 80px;
}

.text {
    font-size: 1rem;
    line-height: 1.5rem;
}


.header__video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.header__video-content {
    position: relative;
    z-index: 2;
}

.header__main::before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}


@keyframes modal-show {
    from {
        transform: translate(-50%, -200%);
    }

    to {
        transform: translate(-50%, -50%);
    }
}



.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -500%);
    z-index: 11;
    background: white;
    width: 85%;
    max-width: 650px;
    padding: 20px 50px;
    text-align: center;
    -webkit-box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
    box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
    
}

.modal__close {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0 !important; 
    border-radius: 0;
    min-width: auto;
}

.modal--show {
    animation: 0.5s modal-show forwards;
}


.modal button {
    margin-top: 2rem;
}

.modal__form {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.modal__title {
    text-align: center;
    font-size: 2.3rem;
    margin: 0;
}

.modal__left-col, .modal__right-col {
    width: 48%;
}

.modal__left-col input, .modal__right-col textarea {
    width: 100%;
    border: 1px solid #000000;
    min-height: 32px;
    padding: 10px;
}

.modal__right-col textarea {
    height: 100%;
}

.modal__input-wrap {
    margin-bottom: 15px;
}

.modal__input-wrap:last-child {
    margin-bottom: 0;
}

.modal__left-col input::placeholder {
    font-weight: 300;
    font-size: 14px;
    color: rgba(0,0,0,0.7);
}

.modal__right-col textarea::placeholder {
    font-weight: 300;
    font-size: 14px;
    color: rgba(0,0,0,0.7);
}

@media (max-width: 760px) {
    .modal__left-col, .modal__right-col {
        width: 100%;
    }

    .modal__input-wrap:last-child {
        margin-bottom: 15px;
    }
}


.modal__hire {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -500%);
    z-index: 11;
    background: white;
    width: 85%;
    max-width: 650px;
    padding: 20px 50px;
    text-align: center;
    -webkit-box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
    box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.25);
    
}

.modal__hire .modal__close {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0 !important; 
    border-radius: 0;
    min-width: auto;
}

.modal--show {
    animation: 0.5s modal-show forwards;
}


.modal__hire button {
    margin-top: 2rem;
}

.modal__hire .modal__form {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.modal__hire .modal__title {
    text-align: center;
    font-size: 2.3rem;
    margin: 0;
}

.modal__left-col, .modal__right-col {
    width: 48%;
}

.modal__left-col input, .modal__right-col textarea {
    width: 100%;
    border: 1px solid #000000;
    min-height: 32px;
    padding: 10px;
}

.modal__right-col textarea {
    height: 100%;
}

.modal__input-wrap {
    margin-bottom: 15px;
}

.modal__input-wrap:last-child {
    margin-bottom: 0;
}

.modal__left-col input::placeholder {
    font-weight: 300;
    font-size: 14px;
    color: rgba(0,0,0,0.7);
}

.modal__right-col textarea::placeholder {
    font-weight: 300;
    font-size: 14px;
    color: rgba(0,0,0,0.7);
}

@media (max-width: 760px) {
    .modal__left-col, .modal__right-col {
        width: 100%;
    }

    .modal__input-wrap:last-child {
        margin-bottom: 15px;
    }
}

.map__wrapper a {
    color: white;
}