.rs-contacts {
    padding: 80px 0px 80px;
    margin: 0;
    border-radius: 0px;
}

@media (max-width: 1439.98px) {
    .rs-contacts {
        padding: 80px 0px;
    }
}

@media (max-width: 991.98px) {
    .rs-contacts {
        padding: 50px 0px;
    }
}

.rs-contacts__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.rs-contacts__bg img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.rs-contacts__block {
    position: relative;
    height: 722px;
}

@media (max-width: 1439.98px) {
    .rs-contacts__block {
        height: 650px;
    }
}

@media (max-width: 991.98px) {
    .rs-contacts__block {
        height: 100%;
    }
}

@media (min-width: 991.98px) {
    .rs-contacts__map {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 991.98px) {
    .rs-contacts__map {
        height: 328px;
        margin-bottom: -9px;
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 767.98px) {
    .rs-contacts__map {
        height: 300px;
    }
}

@media (min-width: 991.98px) {
    .rs-contacts__wrapper {
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        padding: 85px 0px 91px 84px;
        z-index: 100;
        position: relative;
    }
}

@media (min-width: 991.98px) and (max-width: 1439.98px) {
    .rs-contacts__wrapper {
        padding: 50px 0px 50px 50px;
    }
}

@media (min-width: 991.98px) and (max-width: 1169.98px) {
    .rs-contacts__wrapper {
        padding: 20px 0px 20px 20px;
    }
}

@media (max-width: 991.98px) {
    .rs-contacts__wrapper {
        position: relative;
        z-index: 2;
    }
}

.rs-contacts__body {
    width: 100%;
    height: 100%;
    max-width: 475px;
    padding: 53px 51px;
    background-color: #fff;
    border-radius: 15px;
    box-sizing: border-box;
}

@media (max-width: 1439.98px) {
    .rs-contacts__body {
        padding: 30px;
        max-width: 400px;
    }
}

@media (max-width: 991.98px) {
    .rs-contacts__body {
        max-width: 100%;
        padding: 24px;
        -webkit-box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
        box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
    }
}

@media (max-width: 767.98px) {
    .rs-contacts__body {
        padding: 24px 16px;
    }
}

.rs-contacts__body p {
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    .rs-contacts__body p {
        margin-top: 8px;
    }
}

.rs-contacts__body > .rs-btn {
    margin-top: 16px;
}

@media (max-width: 991.98px) {
    .rs-contacts__body > .rs-btn {
        margin-top: 16px;
        width: 100%;
    }
}

.rs-contacts__contact {
    margin-top: 15px;
}

.rs-contacts__contact li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    color: var(--text-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
}

@media (max-width: 1439.98px) {
    .rs-contacts__contact li {
        font-size: 15px;
        line-height: 130%;
        font-weight: 500;
    }
}

.rs-contacts__contact li svg {
    min-width: 16px;
    max-width: 16px;
    margin-top: 4px;
    margin-right: 5px;
}

@media (max-width: 1439.98px) {
    .rs-contacts__contact li svg {
        min-width: 15px;
        max-width: 15px;
    }
}

.rs-contacts__contact li:not(:last-child) {
    margin-bottom: 12.5px;
}

@media (max-width: 1439.98px) {
    .rs-contacts__contact li:not(:last-child) {
        margin-bottom: 16px;
    }
}

.rs-contacts__contact li a {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

@media (any-hover: hover) {
    .rs-contacts__contact li a:hover {
        color: var(--primary-color);
    }
}

.rs-contacts__social {
    margin-top: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 767.98px) {
    .rs-contacts__social {
       /* max-width: 350px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;*/
    }
}

.rs-contacts__social li:not(:last-child) {
    margin-right: 16px;
}

@media (max-width: 767.98px) {
    .rs-contacts__social li:not(:last-child) {
        margin-right: 7px;
    }
}

.rs-contacts__social li svg,
.rs-contacts__social li img {
    width: 24px;
    height: 24px;
}

.rs-contacts__social li svg path {
    -webkit-transition: fill 0.3s ease 0s;
    transition: fill 0.3s ease 0s;
    fill: #000;
}

.rs-contacts__social li a {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: #f2f4f9;
    border-radius: 50%;
}

@media (max-width: 991.98px) {
    .rs-contacts__social li a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .rs-contacts__social li a {
        width: 30px;
        height: 30px;
    }

    .rs-contacts__social li a svg {
        width: 20px;
        height: 20px;
    }
}

@media (any-hover: hover) {
    .rs-contacts__social li a:hover {
        background-color: var(--primary-color);
    }

    .rs-contacts__social li a:hover svg path {
        fill: #000;
    }
}

@media (min-width: 991.98px) {
    .rs-contacts__top {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 30px;
    }
}

.rs-contacts__top .rs-contacts__body {
    padding: 50px;
    max-width: 100%;
    width: 100%;
    -webkit-box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
    box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
    background: #fff;
    border-radius: 15px;
}

@media (max-width: 1439.98px) {
    .rs-contacts__top .rs-contacts__body {
        padding: 30px;
    }
}

@media (max-width: 1169.98px) {
    .rs-contacts__top .rs-contacts__body {
        padding: 20px 15px;
    }
}
.rs-contacts__top .rs-contacts__body:first-child{
    margin-bottom: 0.5rem;
}
@media (min-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body:first-child {
        grid-column: 1/6;
        margin-bottom: 0;
    }
}

@media (min-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body:last-child {
        grid-column: 6/13;
    }
}

.rs-contacts__top .rs-contacts__body > h3 {
    margin-bottom: 8px;
}

.rs-contacts__top .rs-contacts__body .rs-contacts__contact {
    margin-top: 15px;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body .rs-contacts__contact {
        margin-top: 10px;
        margin-bottom: 0.5rem;
    }
}

.rs-contacts__top .rs-contacts__body > h5 {
    margin-top: 25px;
}

@media (max-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body > h5 {
        margin-top: 15px;
    }
}

.rs-contacts__top .rs-contacts__body .rs-contacts__social {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body .rs-contacts__social {
        margin-top: 10px;
    }
}

.rs-contacts__top .rs-contacts__body .form {
    margin-top: 20px;
}

@media (max-width: 991.98px) {
    .rs-contacts__top .rs-contacts__body .form {
        margin-top: 15px;
    }
}

.rs-contacts__top .rs-contacts__body .rs-input {
    background-color: #fff;
    box-sizing: border-box;
}

.rs-contacts__top .rs-contacts__body textarea.rs-input {
    min-height: 147px;
}

.rs-contacts__bottom {
    position: relative;
    height: 520px;
    border-radius: 15px;
    overflow: hidden;
    -webkit-box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
    box-shadow: 9px 11px 29px 0 rgba(125, 138, 152, 0.15);
    background: rgba(255, 255, 255, 0);
    margin-top: 80px;
}

@media (max-width: 991.98px) {
    .rs-contacts__bottom {
        margin: 50px 0px;
        height: 300px;
    }
}

.contact-box--container {
    padding: 0.8rem 1.2rem .8rem;
    z-index: 100;
    position: relative;
}

.contact-box--container h4 {
    color: #333d4f;
    font-family: PingFangSC-Semibold;
    font-size: .4rem;
    font-weight: 600;
    line-height: .6rem
}

.contact-box--container h6 {
    color: #333d4f;
    font-family: PingFangSC-Light;
    font-size: .24rem;
    font-weight: 600;
    line-height: .6rem
}

.rs-select-arrow {
    position: absolute;
    pointer-events: none;
    top: 27px;
    right: 20px;
    width: 10px;
    height: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: none;
    color: rgba(0, 0, 0, 0.25);
}

.top-img{
    height: 100vh;
    position: relative
}
.top-img img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}


.car-bg{
    height: 7.5rem;

    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    z-index: 9;
}
img.cover {
    -o-object-fit: cover;
    object-fit: cover;
}

@media (min-width: 991.98px) {
    .car-bg{
        height: var(--100vh);
    }

}

@media screen and (max-width: 750px) {
    .contact-box--container {
        padding: 0.8rem 0.5rem .8rem;
    }
    .top-img {
        height: 7.5rem
    }
}