.contactH1 {
    margin-bottom: 1.0em;
}

.contactspacer {
    height: 20px;
}

@media screen and (min-width: 993px) {
    .contactspacer {
        height: 60px;
    }
}
@media screen and (min-width: 1401px) {
    .contactspacer {
        height: 90px;
    }
}

.contactItems {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 16px;
    grid-column-gap: 20px;
    margin-bottom: 32px;
}

@media screen and (min-width: 993px) {
    .contactItems {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 50px;
    }
}

.contactItem {
    border: 1px solid #E7E4ED;
    border-radius: 8px;
    padding: 30px 30px 30px 40px;
}

@media screen and (min-width: 1401px) {
    .contactItem {
        padding: 36px 36px 36px 56px;
    }
}

.contactItem__title {
    font-weight: 300;
    font-size: 18px;
    line-height: 125%;
    color: #5B5B5D;
    margin-bottom: 10px;
}
@media screen and (min-width: 1201px) {
    .contactItem__title {
        font-size: 24px;
    }
}

.contactItem__title a {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
}

.contactItem__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 133%;
    color: #9F9FA2;
}
@media screen and (min-width: 993px) {
    .contactItem__text {
        font-size: 16px;
    }
}
@media screen and (min-width: 1401px) {
    .contactItem__title {
        font-size: 18px;
    }
}

.locations {
    margin-bottom: 50px;
}

.location {
    display: flex;
    flex-direction: column;
    gap: 15px 24px;   
    position: relative;
}
@media screen and (min-width: 993px) {
    .location {
        flex-direction: row;
    }
}

@media screen and (min-width: 993px) {
    .location:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.location + .location {
    margin-top: 30px;
}

@media screen and (min-width: 993px) {
    .location + .location {
        margin-top: 50px;
    }
}

.location__ifno {
    background-color: #F5F5FA;
    border-radius: 10px;    
    padding: 40px;
}
@media screen and (min-width: 993px) {
    .location__ifno {
        width: calc(50.0% - 12px);
    }
}
@media screen and (min-width: 1401px) {
    .location__ifno {
        padding: 80px;
    }
}

.location__map {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    height: 400px;
}
@media screen and (min-width: 993px) {
    .location__map {
        width: calc(50.0% - 12px);
        height: auto;
    }
}

.location__map iframe {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.location__title {
    font-weight: 300;
    font-size: 18px;
    line-height: 125%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #553285;
    margin-bottom: 19px;    
}

@media screen and (min-width: 577px) {
    .location__title {
        margin-bottom: 30px;
    }
}
@media screen and (min-width: 1201px) {
    .location__title {
        font-size: 24px;
    }
}

.location__item:not(:last-child) {
    margin-bottom: 13px;
}

@media screen and (min-width: 577px) {
    .location__item:not(:last-child) {
        margin-bottom: 20px;
    }
}

.location__item > * + * {
    margin-top: 10px;
}

.location__name {
    font-weight: 300;
    font-size: 14px;
    line-height: 125%;
    color: #000000;
}
@media screen and (min-width: 993px) {
    .location__name {
        font-size: 20px;
    }
}
@media screen and (min-width: 1401px) {
    .location__name {
        font-size: 24px;
    }
}

.location__value {
    font-weight: 300;
    font-size: 14px;
    line-height: 133%;
    color: #000000;
}
@media screen and (min-width: 993px) {
    .location__value {
        font-size: 16px;
    }
}
@media screen and (min-width: 1401px) {
    .location__value {
        font-size: 18px;
    }
}

.yablk {
    position: static;
    background-color: #F5F5FA;    
    border-radius: 8px;
    padding: 23px 25px;
}
@media screen and (min-width: 577px) {
    .yablk {
        position: absolute;
        min-width: 200px;
        right: 25px;
        top: 25px;
        background-color: #FCFDFF;
    }
}
@media screen and (min-width: 993px) {
    .yablk {
        top: 30px;
        left: 25%;
        right: auto;
    }
}
@media screen and (min-width: 1201px) {
    .yablk {
        left: 28%;
        top: 30px;
    }
}
@media screen and (min-width: 1401px) {
    .yablk {
        left: 31%;
        top: 40px;
    }
}

@media screen and (min-width: 993px) {
    .location:nth-child(even) .yablk {
        left: 77%;
    }
}
@media screen and (min-width: 1201px) {
    .location:nth-child(even) .yablk {
        left: 79%;
    }
}
@media screen and (min-width: 1401px) {
    .location:nth-child(even) .yablk {
        left: 82%;
    }
}

.yablk__body {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;    
}
@media screen and (min-width: 577px) {
    .yablk__body {
        gap: 5px;
    }
}

.yablk__rating {
    font-family: 'Bahnschrift';
    font-style: normal;
    font-weight: 350;
    font-size: 35px;
    line-height: 80%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #5B5B5D;
}

.yablk__info {
    display: flex;
    align-items: center;
    gap: 15px;
}   

@media screen and (min-width: 577px) {
    .yablk__info {
        display: block;
    }
}

.yablk__stars  {
    background-repeat: repeat-x;
    background-image: url('../img/star-mobile.png');
    width: 95px;
    height: 16px;
}
@media screen and (min-width: 577px) {
    .yablk__stars {
        background-image: url('../img/star.png');
        width: 65px;
        height: 11px;
        margin-bottom: 2px;
    }
}

.yablk__rate  {
    height: 16px;
    background-repeat: repeat-x;
    background-image: url('../img/star-mobile-active.png');
}
@media screen and (min-width: 577px) {
    .yablk__rate {
        background-image: url('../img/star-active.png');
        height: 11px;
    }
}

.yablk__reviews {
    font-family: 'Bahnschrift';
    font-weight: 300;
    font-size: 14px;
    line-height: 133%;
    color: #39393B;
    padding-left: 2px;
}

@media screen and (min-width: 577px) {
    .yablk__reviews {
        font-size: 12px;
    }
}

.yablk__logo {
    height: 30px;
    width: 30px;
    margin-left: 3px;
    margin-top: -5px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../img/Ya_logo.svg');
    flex-shrink: 0;
}

.yablk .btn {
    width: 100%;
    padding-inline: 10px;
}


.contactProps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 23px;
    grid-column-gap: 23px;
    margin-bottom: 32px;
}

@media screen and (min-width: 993px) {
    .contactProps {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 50px;
    }
}

.contactProp {
    border: 2px solid #E7E4ED;
    border-radius: 10px;
    padding: 40px;
}

@media screen and (min-width: 1401px) {
    .contactProp {
        padding: 58px 58px 58px 91px;
    }
}

.contactProp__title {
    font-weight: 300;
    font-size: 18px;
    line-height: 125%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #553285;
    margin-bottom: 20px;
}
@media screen and (min-width: 577px) {
    .contactProp__title {
        margin-bottom: 30px;
    }
}
@media screen and (min-width: 1201px) {
    .contactProp__title {
        font-size: 24px;
    }
}

.contactProp__item > * + * {
    margin-top: 11px;
}

.contactProp__item:not(:last-child) {
    margin-bottom: 12px;
}

@media screen and (min-width: 577px) {
    .contactProp__item:not(:last-child) {
        margin-bottom: 20px;
    }
}

.contactProp__name {
    font-weight: 300;
    font-size: 14px;
    line-height: 125%;
    color: #000000;
}
@media screen and (min-width: 993px) {
    .contactProp__name {
        font-size: 20px;
    }
}
@media screen and (min-width: 1401px) {
    .contactProp__name {
        font-size: 24px;
    }
}

.contactProp__value {
    font-weight: 300;
    font-size: 14px;
    line-height: 133%;
    color: #000000;
}
@media screen and (min-width: 993px) {
    .contactProp__value {
        font-size: 16px;
    }
}
@media screen and (min-width: 1401px) {
    .contactProp__value {
        font-size: 18px;
    }
}

.contactSoc {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 50px;
}
@media screen and (min-width: 993px) {
    .contactSoc {
        gap: 20px;
    }
}

.contactSoc__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #553285;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    border-radius: 50px;
    transition: background-color 300ms;
}

@media screen and (min-width: 993px) {
    .contactSoc__item {
        width: 94px;
        height: 94px;
        background-size: auto;
    }
}

.contactSoc__item:hover {
    background-color: #9372BE;
}

.contactSoc__item--tg {
    background-image: url('../img/soc/tg.svg');
}
.contactSoc__item--dzen {
    background-image: url('../img/soc/dzen.svg');
}
.contactSoc__item--vc {
    background-image: url('../img/soc/vc.svg');
}