@font-face {
    font-family: 'Unbounded';
    src:
        url("../fonts/Unbounded-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

:root {
    --bg: #1c1c1b;
    --black: #2B2A29;
    --clr-a: #92FF04;
    --main-font: 'Unbounded';
    --clr-b: #474A51;
    --grey: #767673;
    --red: #ED826E;
}
body {
    font-family: var(--main-font), sans-serif;
    background: var(--bg);
    color: #ffffff;
    font-weight: 400;
}
body[is_pdf]{
    margin: 0;
}
body[is_pdf] #mmb{
    display: none;
}
div, section, .like-flats a{
    box-sizing:border-box;
}

.container-landscape {
    width: 1188px;
    height: 840px;
    background: var(--black);
    display: flex;
    flex-direction: column;
    margin: 0 auto 24px auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.page-content{
    padding: 0 3.535%;
    position: relative;
}
.page-content.p-3, .page-content.p-2{
    padding: 0 32px;
    display: flex;
    gap: 32px;
}
.page-content.p-2{
    margin-top: 24px;
}
.right-part.p-2 path{
    stroke-width: 1px;
}
.right-part.p-2 svg{
    height: 792px;
    width: auto;
}
.cover-wrp{
    display: flex;
    margin-bottom: 24px;
}
.cover-title{
    flex: 1;
    padding: 48px 0 0 16px;
    font-size: 36px;
    line-height: 54px;
}
.cover-title svg{
    height: 120px;
    width: auto;
    margin-bottom: 70px;
}
.cover{
    width: 60.688%;
    height: 390px;
    border-radius: 0 0 33px 33px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--clr-a);
    border-top: none;
}
.cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flat{
    display: flex;
    background: #fff;
    border-radius: 33px;
    width: 100%;
    color: var(--black);
    padding: 32px;
}
.flat-right{
    width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.flat-left{
    flex: 1;
}
.flat-title{
    font-size: 18px;
}
.flat-info{
    display: flex;
    flex-wrap: wrap;
    width: 328px;
    margin: 0 auto;
    font-size: 16px;
}
.flat-info-item{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
.flat-info-item:nth-child(1),
.flat-info-item:nth-child(2){
    border-bottom: 1px dotted var(--black);
}
.flat-info-item:nth-child(1),
.flat-info-item:nth-child(3){
    border-right: 1px dotted var(--black);
}
.price{
    padding: 0 24px;
    height: 46px;
    background: var(--clr-a);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    width: fit-content;
    margin: 0 auto;
    font-size: 16px;
}


.plans{
    height: 260px;
    width: 100%;
    position: relative;
    display: flex;
}
.plan{
    height: 100%;
    flex: 1;
    position: relative;
}



.left-part.p-2{
    width: 575px;
    padding-top: 12px;
}
.left-part.p-2 .page-title, .left-part.p-2 .disclaimer{
    padding-left: 18px;

}
.plan img, .floor img, .similar-flat-plan img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.floor {
    width: 100%;
    height: 374px;
    position: relative;
    border-radius: 33px;
    overflow: hidden;
    background: #fff;
    margin: 26px 0;
}
.floor svg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.floor polygon{
    fill: var(--clr-a);
    fill-opacity: 0.6;
}

.utp-group{
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.utp-item{
    padding-left: 18px;
}
.utp-title{
    color: var(--clr-a);
    margin-bottom: 20px;
    font-size: 16px;
}
.utp{
    padding-bottom: 8px;
    font-size: 14px;
    position: relative;
}
.utp::after{
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--clr-a);
    position: absolute;
    top: 4px;
    left: -18px;
    content: '';
}
.utp::before{
    width: 2px;
    height: 100%;
    background: var(--clr-a);
    position: absolute;
    top: 4px;
    left: -15px;
    content: '';
}
.utp:last-child::before{
    display: none;
}
.page-title{
    font-size: 20px;
}
.disclaimer{
    font-size: 11px;
    color: var(--grey);
}
.disclaimer.max{
    font-size: 7px;
}
.disclaimer.p-3{
    padding: 20px 32px 0 32px;
    text-align: center;
}

.similar-flats{
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}
.similar-flats > a{
    border-radius: 16px;
    overflow: hidden;
    color: var(--black);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    font-size: 16px;
}
.similar-flat{
    height: 164px;
    background: #fff;
}
.similar-flat-plan{
    width: 164px;
    height: 164px;
    position: relative;
}
.similar-flat-price{
    height: 34px;
    width: fit-content;
    padding: 0 26px;
    border-radius: 7px;
    background: var(--clr-a);
    display: flex;
    align-items: center;
}
.similar-flat-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.catalog{
    height: 120px;
    background: var(--clr-a);
}
.catalog img{
    height: 100px;
    width: auto;
}
.catalog div{
    flex: 1;
    text-align: center;
}



.gallery{
    width: 664px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.gallery-item{
    border-radius: 33px;
    border: 1px solid var(--clr-a);
    overflow: hidden;
    height: 220px;
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(4){
    width: 432px;
}
.gallery-item:nth-child(2),
.gallery-item:nth-child(3){
    width: 220px;
}
.gallery-item:nth-child(5),
.gallery-item:nth-child(6),
.gallery-item:nth-child(7){
    width: 213px;
}

#map{
    margin: 24px;
    height: 624px;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
}
#map img, .gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location{
    position: absolute;
    left: 78px;
    top: 38px;
    width: 306px;
}
.location-title{
    color: var(--clr-a);
    font-size: 28px;
}
.location-desc{
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 13.5px;
    margin: 32px 0;
    line-height: 20px;
}
.site-btn{
    height: 40px;
    width: fit-content;
    border: 1px solid var(--clr-a);
    line-height: 38px;
    padding: 0 32px;
    border-radius: 16px;
    margin: 0 auto;
    font-size: 16px;
}
.contacts{
    display: flex;
    margin: 0 60px;
    justify-content: space-between;
    font-size: 22px;
}
.contacts-col{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.page-top{
    margin: 32px 32px 24px 32px;
    display: flex;
    gap: 32px;
}
.page-top .page-title{
    text-align: center;
}
.page-top .page-title:first-of-type{
    width: 428px;
}
.page-top .page-title:last-of-type{
    flex: 1;
}

/*---*/

.share_mobile{
    display: none;
}
.share_btn_wrp{
    display: flex;
    position: fixed;
    top:0;
    right: calc(50% - 584px);
    height: 40px;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
}
.share_btn_wrp.active{
    top: 16px;
    opacity: 1;
    visibility: visible;
    transition: all 0.2s ease-in-out;
}
.share{
    text-align: center;
    background: var(--clr-a);
    border-radius: 8px;
    margin:0 0 0 8px;
    cursor:pointer;
    transition: all 0.1s ease;
    opacity: 0.4;
    padding: 9px;
    position: relative;
}
.container-landscape:hover ~ .share_btn_wrp.active .share, .share_btn_wrp.active:hover .share{
    opacity: 0.8;
}
.share:hover{
    background: var(--clr-a);
}
.share svg{
    pointer-events: none;
}
#b_print::after, #b_copy::after, #b_save::after{
    content: attr(aft);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    bottom:-28px;
    left: 50%;
    padding: 4px 12px;
    box-shadow: 0 6px 14px -4px #1c1c1b;
    transform: translateX(-50%) scale(0.8,0.8);
    transition: all 0.15s ease-in-out;
    background: #fff;
    white-space: nowrap;
    border-radius: 4px;
    font-size: 14px;
    color: var(--black);
}
#b_copy.cp::after{
    content: 'Скопировано'!important;
    background: var(--red);
}
#b_copy.er::after{
    content: 'Ошибка копирования'!important;
    background: #FF776B;
}
#b_print:hover::after,#b_copy:hover::after,#b_save:hover::after{
    opacity: 1;
    visibility: visible;
    transform:translateX(-50%) scale(1,1);
}

/*---*/

@media screen and (max-width: 1188px) {

    body {
        margin: 0;
    }

    .container-landscape {
        width: 100vw;
        height: 70.707vw;
        margin: 0 auto 2.02vw auto;
        border-radius: 0.673vw;
    }
    .page-content.p-3, .page-content.p-2{
        padding: 0 2.694vw;
        gap: 2.694vw;
    }
    .page-content.p-2{
        margin-top: 2.02vw;
    }
    .right-part.p-2 path{
        stroke-width: 0.084vw;
    }
    .right-part.p-2 svg{
        height: 66.667vw;
    }
    .cover-wrp{
        margin-bottom: 2.02vw;
    }
    .cover-title{
        padding: 4.04vw 0 0 1.347vw;
        font-size: 3.03vw;
        line-height: 4.545vw;
    }
    .cover-title svg{
        height: 10.101vw;
        margin-bottom: 5.892vw;
    }
    .cover{
        height: 32.828vw;
        border-radius: 0 0 2.778vw 2.778vw;
        border: 0.084vw solid var(--clr-a);
    }
    .flat{
        border-radius: 2.778vw;
        padding: 2.694vw;
    }
    .flat-right{
        width: 52.189vw;
    }
    .flat-title{
        font-size: 1.515vw;
    }
    .flat-info{
        width: 27.609vw;
        font-size: 1.347vw;
    }
    .flat-info-item{
        gap: 0.842vw;
        padding: 1.684vw 0;
    }
    .flat-info-item:nth-child(1),
    .flat-info-item:nth-child(2){
        border-bottom: 0.084vw dotted var(--black);
    }
    .flat-info-item:nth-child(1),
    .flat-info-item:nth-child(3){
        border-right: 0.084vw dotted var(--black);
    }
    .price{
        padding: 0 2.02vw;
        height: 3.872vw;
        border-radius: 0.842vw;
        font-size: 1.347vw;
    }
    .plans{
        height: 21.886vw;
    }
    .left-part.p-2{
        width: 48.401vw;
        padding-top: 1.01vw;
    }
    .left-part.p-2 .page-title, .left-part.p-2 .disclaimer{
        padding-left: 1.515vw;
    }
    .floor {
        height: 31.481vw;
        border-radius: 2.778vw;
        margin: 2.189vw 0;
    }
    .utp-group{
        gap: 1.01vw;
        margin-bottom: 1.684vw;
    }
    .utp-item{
        padding-left: 1.515vw;
    }
    .utp-title{
        margin-bottom: 1.684vw;
        font-size: 1.347vw;
    }
    .utp{
        padding-bottom: 0.673vw;
        font-size: 1.178vw;
    }
    .utp::after{
        width: 0.673vw;
        height: 0.673vw;
        border-radius: 0.337vw;
        top: 0.337vw;
        left: -1.515vw;
    }
    .utp::before{
        width: 0.168vw;
        top: 0.337vw;
        left: -1.263vw;
    }
    .page-title{
        font-size: 1.684vw;
    }
    .disclaimer{
        font-size: 0.926vw;
    }
    .disclaimer.max{
        font-size: 0.589vw;
    }
    .disclaimer.p-3{
        padding: 1.684vw 2.694vw 0 2.694vw;
    }
    .similar-flats{
        gap: 2.02vw;
    }
    .similar-flats > a{
        border-radius: 1.347vw;
        padding: 0 1.684vw;
        gap: 1.684vw;
        font-size: 1.347vw;
    }
    .similar-flat{
        height: 13.805vw;
    }
    .similar-flat-plan{
        width: 13.805vw;
        height: 13.805vw;
    }
    .similar-flat-price{
        height: 2.862vw;
        padding: 0 2.189vw;
        border-radius: 0.589vw;
    }
    .similar-flat-info{
        gap: 1.01vw;
        font-size: 1.263vw;
    }
    .catalog{
        height: 10.101vw;
    }
    .catalog img{
        height: 8.418vw;
    }
    .gallery{
        width: 55.892vw;
        gap: 1.01vw;
    }
    .gallery-item{
        border-radius: 2.778vw;
        border: 0.084vw solid var(--clr-a);
        height: 18.519vw;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4){
        width: 36.364vw;
    }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3){
        width: 18.519vw;
    }
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7){
        width: 17.929vw;
    }
    #map{
        margin: 2.02vw;
        height: 52.525vw;
        border-radius: 5.051vw;
    }
    .location{
        left: 6.566vw;
        top: 3.199vw;
        width: 25.758vw;
    }
    .location-title{
        font-size: 2.357vw;
    }
    .location-desc{
        gap: 1.852vw;
        font-size: 1.136vw;
        margin: 2.694vw 0;
        line-height: 1.684vw;
    }
    .site-btn{
        height: 3.367vw;
        border: 0.084vw solid var(--clr-a);
        line-height: 3.199vw;
        padding: 0 2.694vw;
        border-radius: 1.347vw;
        font-size: 1.347vw;
    }
    .contacts{
        font-size: 1.852vw;
        margin: 0 5.05vw;
    }
    .contacts-col{
        gap: 1.684vw;
    }
    .page-top{
        margin: 2.694vw 2.694vw 2.02vw 2.694vw;
        gap: 2.694vw;
    }
    .page-top .page-title:first-of-type{
        width: 36.027vw;
    }

    #mmb {
        padding: 42px 0;
        width: 100vw;
    }
    .share_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80vw;
        height: 50px;
        background: var(--clr-a);
        color: var(--black);
        text-align: center;
        margin: 8px 10vw;
        position: fixed;
        bottom: 0;
        border-radius: 12px;
        opacity: 0;
        visibility: hidden;
        z-index: 5;
    }
    .share_mobile path {
        fill: var(--black);
    }
    .share_mobile.active {
        margin: 24px 10vw;
        opacity: 1;
        visibility: visible;
        transition: all 0.2s ease-in-out;
    }
    .share_mobile div {
        margin-left: 8px;
        font-weight: 600;
    }
    .share_btn_wrp {
        display: none;
    }

}
