.wrapper {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: border-box;
}

.header {
    width: 100%;
    background: #424848;
    box-shadow: 0px 4px 22px rgba(0, 0, 0, 0.25);
}

.header__fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    animation: smoothHeader 0.3s forwards;
}

.header__company {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company {
    display: flex;
    align-items: center;
    gap: 25px;
}

.company__name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    color: #C0C2C2;
}

.company__contacts {
    display: flex;
    align-items: center;
    gap: 27px;
}

.contacts__phone__icon {
    width: 32px;
    height: 32px;
}

.phone__link {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 25px;
    color: #C0C2C2;
    text-decoration: none;
}

.banner {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../../images/banner-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner__content {
    display: flex;
    gap: 0px 120px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.banner__info {
    display: flex;
    flex-direction: column;
    gap: 27px 0px;
}

.banner__title {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 50px;
    letter-spacing: -0.23008px;
    text-shadow: 3px 5px 6px #ffffff30, -6px -7px 6px #ffffff00;
    color: #ffffff;
}

.banner__title__company {
    color: #ff944d;
}

.banner__description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
}

.banner__form__block {
    background: #424848;
    padding: 25px 40px;
    text-align: center;
}

.form__title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.banner__form__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0px;
}

.form__field__item {
    position: relative;
    width: 50%;
    padding: 0px 5px;
    box-sizing: border-box;
}

.form__field__label {
    position: absolute;
    top: 5px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 9px;
    color: #e0e0e0;
}

.customer__input__fields {
    width: 100%;
    border: 1px solid transparent;
    background: #818585;
    padding-top: 15px;
    padding-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
    font-weight: 500;
    color: #ffffff;
}

.field__error {
    border: 1px solid #bf0000;
}

.error__field {
    display: none;
    text-align: start;
    font-size: 14px;
    padding: 3px 0px;
    background: #bf0000;
    color: #ffffff;
    font-weight: 500;
}

.error__show {
    display: block;
}

.privacy-policy-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

.form__submit {
    text-align: center;
}

.form__submit__input {
    background: #FE6B37;
    border: none;
    margin-top: 16px;
    padding: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.form__submit__input:hover {
    background: #F1916F;
}

.form__submit__input:active {
    background: #B53E14;
}

.section__title {
    text-align: center;
    padding: 45px 0px 70px 0px;
    font-family: 'Arial', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 57px;
    color: #FFFFFF;
    z-index: 1;
}

.section__title__black {
    background: #424848;
}

.section__title__orange {
    background: #FE6B37;
}

.content__section {
    background: #ffffff;
    border-radius: 65px 65px 0px 0px;
    margin-top: -55px;
    padding: 65px 15px 40px 15px;
    z-index: 10;
}

.section__description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    max-width: 743px;
    text-align: center;
    margin: 0 auto;
}

.section__grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 25px;
    margin-top: 25px;
}

.section__baseline {
    align-items: baseline;
}

.section__item {
    width: 25%;
    padding: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 65px 20px;
    text-align: center;
}

.services__item {
    max-height: 270px;
    box-sizing: border-box;
}

.features__item {
    padding: 0;
    margin: 0;
}

.services__item__one {
    background: url(../../images/services_one.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.services__item__two {
    background: url(../../images/services_two.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.services__item__three {
    background: url(../../images/services_three.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.services__item__four {
    background: url(../../images/services_four.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.section__item__title {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 41px;
    margin-bottom: 10px;
    color: #ffffff;
}

.section__item__description {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    margin: 0 auto;
    color: #ffffff;
}

.features__title {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 33px;
    margin: 15px 0px;
    color: #424848;
    text-align: start;
}

.features__image__tag {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.features__description {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #424848;
    text-align: start;
}

.quote__form__columns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 25px;
}

.quote__column {
    width: 50%;
    max-width: 510px;
}

.quote__user__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.quote__user__field {
    flex: 1 auto;
    position: relative;
}

.quote__label {
    position: absolute;
    top: 5px;
    left: 7px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 11px;
    color: #424848;
}

.quote__text__field {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 15px 5px;
    border: 1px solid #C0C2C2;
    box-sizing: border-box;
}

.quote__three__column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.quote__three__column__field {
    flex: 3;
}

.quote__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url(../../images/icons/select_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 13px;
    padding: 18px 6px;
    color: #424848;
}

.quote__home__type {
    width: 100%;
    min-width: 195px;
    border: 1px solid #C0C2C2;
    box-sizing: border-box;
}

.quote__bedrooms {
    width: 100%;
    min-width: 115px;
    border: 1px solid #C0C2C2;
    box-sizing: border-box;
}

.quote__date {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 13px;
    padding: 17px 5px;
    width: 100%;
    min-width: 170px;
    border: 1px solid #C0C2C2;
    color: #424848;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.quote__date::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 47px;
    height: 45px;
    background: transparent;
    background-image: url(../../images/icons/date_icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0px;
}

.quote__title {
    position: relative;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 25px;
    padding-left: 30px;
    color: #424848;
}

.quote__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 6px;
    height: 16px;
    background: #FFD9CB;
}

.quote__separator {
    display: flex;
    width: 1px;
    background: #C0C2C2;
}

.quote__submit {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
}

.quote__submit_btn {
    position: relative;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 13px;
    text-transform: uppercase;
    padding: 14px 25px;
    border: none;
    background: #FE6B37;
    color: #ffffff;
}

.quote__submit_btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: -35px;
    width: 35px;
    height: 41px;
    background: #424848;
}

.quote__contact__phone {
    margin-left: 35px;
}

.contact__phone__link {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 17px;
    text-decoration: none;
    color: #0C446F;
}

.privacy__policy__link {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    text-decoration: none;
    color: #0C446F;
}

.quote__note {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    margin-top: 25px;
    max-width: 700px;
    color: #818585;
}

.modal__wrapper {
    display: none;
    justify-content: center;
    align-items: center;
}

.modal__wrapper.modal__wrapper__show {
    display: block;
}

.modal__wrapper:before {
    content: '';
	background: #000000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.7;
	z-index: 9999;
}

.modal {
    position: fixed;
    top: 20%;
    padding: 20px;
    width: 100%;
    max-width: 460px;
    margin: 0px 15px;
    background: #fff;
    border-radius: 5px;
    z-index: 99999;
    opacity: 1;
    box-sizing: border-box;
}

.modal__close {
    position: absolute;
	top: 5px;
	right: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 36px;
    font-weight: 400;
    cursor: pointer;
}

.modal__content {
    padding: 20px 10px;
}

.modal__first {
    font-family: 'Arial', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1b8700;
}

.modal__second {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.2;
}

.footer {
    background: #424848;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__company__link {
    display: flex;
    align-items: center;
    gap: 25px;
}

.company__social {
    display: flex;
    gap: 20px;
    margin: 0px 30px;
}

.social__icons {
    position: relative;
}

.social__icon {
    width: 40px;
    height: 40px;
    fill: #C0C2C2;
    padding: 1px;
    border-radius: 50%;
}

.social__facebook:hover {
    fill: #3b5998;
    background: #ffffff;
}

.social__twitter:hover {
    fill: #1D9BF0;
    background: #ffffff;
}

.social__gplus:hover {
    fill: #dd4b39;
    background: #ffffff;
}

.social__instagram:hover {
    fill: #F77737;
    background: #ffffff;
}

.social__thumbtack:hover {
    fill: #009FD9;
    background: #ffffff;
}

.social__thumbtack:hover .social__thumbtack__path {
    fill: #ffffff;
}

.social__dnone {
    display: none;
}

.copyright {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #C0C2C2;
}

@keyframes smoothHeader {
    0% {
        transform: translateY(-80px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 967px) {
    .banner__content {
        flex-direction: column;
        padding-bottom: 0px;
    }
    
    .banner__form__block {
        margin: 25px -15px -1px -15px;
    }

    .section__grid {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .section__item {
        width: calc(50% - 25px);
    }
}

@media (max-width: 769px) {
    .banner__title {
        font-size: 48px;
    }

    .banner__form__block {
        padding: 25px 40px 25px 30px;
    }

    .section__title {
        padding: 35px 0px 70px 0px;
        font-size: 42px;
    }

    .section__item__description {
        font-size: 15px;
    }

    .footer__inner {
        justify-content: center;
        flex-wrap: wrap;
    }

    .copyright {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 569px) {
    .company {
        gap: 15px;
    }

    .company__name {
        font-size: 16px;
        line-height: 20px;
    }

    .content__section {
        border-radius: 15px 15px 0px 0px;
        margin-top: -45px;
        padding: 35px 15px 40px 15px;
    }

    .section__title {
        font-size: 34px;
        line-height: 40px;
    }

    .section__item__title {
        font-size: 28px;
        line-height: 30px;
    }

    .quote__submit {
        flex-wrap: wrap;
        justify-content: center;
    }

    .quote__privacy__policy {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 519px) {
    .company__social {
        gap: 15px;
        margin: 0px 10px;
    }

    .quote__form__columns {
        flex-wrap: wrap;
    }

    .quote__column {
        width: 100%;
    }
}

@media (max-width: 481px) {
    .contacts__phone {
        display: none;
    }

    .banner {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../images/banner-bg.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .banner__title {
        font-size: 36px;
        line-height: 42px;
        text-align: center;
        color: #ffffff;
    }

    .section__title {
        font-size: 28px;
    }

    .banner__description {
        text-align: center;
        color: #ffffff;
    }

    .footer__company {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .footer__company__name__separator {
        display: none;
    }
}

@media (max-width: 419px) {
    .banner__form__block {
        padding: 25px 15px;
    }

    .form__field__item {
        width: 100%;
    }

    .form__field__label {
        margin-left: 10px;
        text-align: start;
    }

    .customer__input__fields {
        text-align: start;
        padding: 15px 5px;
    }

    .section__title {
        font-size: 24px;
        line-height: 30px
    }

    .section__item {
        width: 100%;
    }

    .section__item__description {
        font-size: 17px;
    }

    .features__image__tag {
        height: 240px;
    }

    .quote__privacy__policy {
        order: 2;
        width: initial;
        margin-left: 25px;
    }

    .quote__contact__phone {
        order: 3;
        margin-left: 0px;
    }
}

@media (max-width: 319px) {
    .quote__submit_btn {
        margin-left: -35px;
    }

    .quote__contact__phone {
        order: 2;
    }

    .quote__privacy__policy {
        order: 3;
        margin-left: 0px;
    }
}