.obj {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    padding-bottom: 0;
    margin-bottom: 10px;
    height: calc(100vh - 125px);
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.obj::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* степень затемнения */
    z-index: 1;
}
.slick-current{
    position:relative;
}
.slick-slide .objitem__back:before,
.objitem__block .objitem__col .objitem__back:before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
    pointer-events: none;
} 
/* .objitem__item:before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
    pointer-events: none;
} */
.obj > *{
    position: relative;
    z-index: 2;
}

.obj .max{
    padding-bottom:70px;
    max-width:100%;
    width: 100%;
}

.obj__info {
    padding-left: 94px;
}

.obj__title {
    font-size: 28px;
    font-family: "Avant Garde Gothic C - Demi";
    margin-bottom: 50px;
    position: relative;
    line-height: 120%;
}
.obj__list {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-bottom: 45px;
}

.obj__elem {
    font-size: 21px;
    width: 50%;
    padding-right: 30px;
    margin-bottom: 15px;
    line-height: 120%;
}

.obj__elem span {
    font-family: "Avant Garde Gothic C - Demi";
}

.obj__order {
    display: flex;
    gap: 30px;
}

.obj__link {
    color: #2e2e2e;
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 53px;
    width: 294px;
    max-width: 100%;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    font-family: "Avant Garde Gothic C - Demi";
    color: #fff;
    border: 1px solid #fff;
}

.obj__link:hover {
    color: #fff;
    background-color: #2e2e2e;
    border-color: #2e2e2e;
}

.objgal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.objgal__item {
    flex: 0 0 calc((100% - (15px * 4)) / 5);
}

.objgal__item img {
    height: 440px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.objitem {
    margin-bottom: 50px;
}

.objitem__head {
    font-size: 27px;
    font-family: "Avant Garde Gothic C - Demi";
    margin-bottom: 70px;
    padding-left: 88px;
    display: inline-block;
    position: relative;
}

/* .objitem__head:after {
    content: '';
    position: absolute;
    right: -13px;
    bottom: 4px;
    width: 5px;
    height: 5px;
    background: #FFEA00;
} */

.objitem__slider {
    padding-left: 40px;
    padding-right: 40px;
    perspective: 1200px;
}

.objitem__block {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
    perspective: 1200px;
}

.objitem__col {
    padding-left: 15px;
    padding-right: 15px;
    width: 25%;
    margin-bottom: 30px;
}

.objitem__item {
    position: relative;
    
    width: 100%;
    height: 415px;
    cursor: pointer;
    display: block;
}

.objitem__item > div {
    width: 100%;
    height: 100%;
    position: absolute;
    left:0; top:0;
    backface-visibility: hidden;
    transition: transform .6s ease;
    transform-style: preserve-3d;
}

.objitem__front {
    transform: rotateY(0deg);
}

.objitem__back {
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 27px 22px;
    position: relative;
    transform: rotateY(180deg);
    padding-bottom: 56px;
    justify-content: space-between;
    position: relative;
}

.objitem__back:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: #FFEA00;
}

.objitem__item:hover .objitem__front {
    transform: rotateY(-180deg);
}

.objitem__item:hover .objitem__back {
    transform: rotateX(0deg) rotateY(0deg);
}

.objitem__img img {
    width: 100%;
    height: 302px;
    object-fit: cover;
}

.objitem__info {
    padding: 26px 19px;
    border: 1px solid #EAEAEA;
    border-top: none;
    padding-bottom: 20px;
    position: relative;
    background: #fff;
    height: 113px;
}

.objitem__info:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 12px;
    height: 12px;
    background: #FFEA00;
}

.objitem__title {
    font-size: 14px;
    line-height: 120%;
    font-family: "Avant Garde Gothic C - Demi";
    margin-bottom: 16px;
}

.objitem__bottom {
    display: flex;
    justify-content: space-between;
}

.objitem__city {
    font-size: 14px;
    font-family: "Avant Garde Gothic C - Book";
    color: #5f5f5f;
}

.objitem__area {
    font-size: 14px;
    font-family: "Avant Garde Gothic C - Demi";
}

.objitem__bname {
    font-size: 18px;
    line-height: 120%;
    font-family: "Avant Garde Gothic C - Demi";
    margin-bottom: 16px;
    margin-bottom: 9px;
}

.objitem__barea {
    font-size: 13px;
    font-family: "Avant Garde Gothic C - Demi";
}

.objitem__bbottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.objitem__blink {
    font-size: 12px;
    font-family: "Avant Garde Gothic C - Book";
    border: 1px solid #fff;
    padding: 11px 19px;
    text-transform: lowercase;
    transition: .3s;
}

.objitem__blink:hover {
    color: #fff;
    background-color: #2e2e2e;
}

.objitem__bcity {
    font-size: 14px;
    font-family: "Avant Garde Gothic C - Book";
}

.objitem__bdots {
    position: absolute;
    bottom: 30px;
    width: calc(100% - 44px);
    display: flex;
    gap: 11px;
    justify-content: center;
}

.objitem__bdots span {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
}

.objitem__prev,
.objitem__next {
    background: #FFD700;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    height: 147px;
    cursor: pointer;
    position: absolute;
    z-index: 2;
}

.objitem__prev svg,
.objitem__next svg {
    fill: #fff;
    width: auto;
    height: auto;
}

.objitem__prev {
    left: 0;
    bottom: 0;
    right: auto;
    top: auto;
}

.objitem__next {
    right: 0;
    bottom: 0;
    left: auto;
    top: auto;
}

.objitem__wrap {
    position: relative;
}

#objmap {
    height: 500px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.objitem__bgallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bgallery {
    
}

.bgallery .slick-dots {
    bottom: 20px;
}

.bgallery .slick-dots li button {
    display: none;
}

.bgallery .slick-dots li {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
}

.bgallery .slick-dots li.slick-active {
    opacity: .5;
}

.bgallery__elem {
    
}

.bgallery__elem img {
    width: 100%;
    height: 415px;
    object-fit: cover;
}

.objitem__btop, .objitem__bbottom {
    position: relative;
    z-index: 1;
}

.modal__content_success {
    max-width: 298px;
}

.modal__wrap_success {
    padding: 0;
}


.success {
    border-bottom: 4px solid #FFE550;
    padding: 30px;
}

.success__title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    font-family: "Avant Garde Gothic C - Demi";
    line-height: 120%;
    margin-bottom: 8px;
}

.success__desc {
    font-size: 14px;
    color: #686868;
    line-height: 120%;
}



@media screen and (max-width: 1200px) {
    .obj__info {
        padding-left: 0;
    }
    
    .objgal__item {
        flex: 0 0 calc((100% - (15px * 2)) / 3);
    }
    
    .objitem__col {
        width: 33.333%;
    }
}

@media screen and (max-width: 992px) {
    .obj__elem {
        width: 100%;
    }
    .objitem__col {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .objgal__item {
        flex: 0 0 calc((100% - 15px) / 2);
    }
    .objgal__item img {
        height: 240px;
    }
    .obj__elem  {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .obj__order {
        gap: 10px;
        flex-direction: column;
    }
    .obj {
        margin-bottom: 10px;
    }
    .objitem__head {
        font-size: 24px;
        padding-left: 0;
    }
    
    .objitem__col {
        width: 100%;
    }
    .objitem__slider {
        padding-left: 20px;
        padding-right: 20px;
    }
    .objitem__bbottom {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 10px;
    }
}