/*
* contacts start
*/

.s-contacts__blocks {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.s-contacts__block {
    width: 100%;
    background: #F5F9FF;
    border-radius: 15px;
    padding: 40px 110px 70px;
}

.s-contacts__block-title {
    font-size: 46px;
    line-height: 55px;
    margin-bottom: 40px;
    font-weight: bold;
}

.s-contacts__block-c {
    display: flex;
    height: 577px;
}

.s-contacts__block-l {
    flex: 1;
    min-width: 0;
    margin-right: 30px;
    display: flex;
    align-items: center;
    position: relative;
}

.s-contacts__block-l:after {
    position: absolute;
    display: block;
    content: "";
    opacity: 0;
    height: 210px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #F5F9FF 5.21%, rgba(255, 255, 255, 0.00) 100%);
    pointer-events: none;
    z-index: 1;
    transition: all .3s;
}

.s-contacts__block-l.scroll-bot-shadow:after {
    opacity: 1;
}

.s-contacts__block-r {
    flex: 0 0 auto;
    width: 577px;
}

.s-contacts__block-map {
    background: #e7e7e7;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.s-contacts__block-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow: auto;
    gap: 50px;
}

.s-contacts__block-cards::-webkit-scrollbar {
    display: none;
}

.s-contacts-card__title {
    border: none;
	background: none;
	cursor: pointer;
	padding: 0;
    outline: none;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    font-family: 'TT Norms Pro';
    color: #0D1828;
    transition: all .3s;
    text-align: left;
}

@media (hover: hover) {
    .s-contacts-card__title:hover {
        color: #00ACEC;
    }
}

.s-contacts-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.s-contacts-card__info-item {
    display: flex;
}

.s-contacts-card__info-item-img-c {
    flex: 0 0 auto;
    width: 20px;
    margin-right: 15px;
    padding-top: 1px;
}

.s-contacts-card__info-item-img-c svg {
    display: block;
    max-width: 100%;
}

.s-contacts-card__info-item-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    line-height: 26px;
    border: none;
	background: none;
	padding: 0;
    outline: none;
    transition: all .3s;
    color: #0D1828;
    font-family: 'TT Norms Pro';
    text-align: left;
}

.s-contacts-card__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.s-contacts-card__action {
    font-size: 16px;
    line-height: 19px;
    outline: none;
    transition: all .3s;
    font-weight: 500;
    text-decoration: none;
    color: #00ACEC;
}

@media (hover: hover) {
    a.s-contacts-card__info-item-title:hover,
    button.s-contacts-card__info-item-title:hover {
        color: #00ACEC;
    }

    .s-contacts-card__action:hover {
        color: #0D1828;
    }
}

@media (max-width: 1099px) {
    .s-contacts__block-title {
        font-size: 32px;
        line-height: 42px;
    }

    .s-contacts__block {
        padding: 50px 30px;
    }

    .s-contacts__block-l {
        margin-right: 15px;
    }
}

@media (max-width: 991px) {
    .s-contacts__block-c {
        flex-direction: column-reverse;
        height: auto;
        max-height: 577px;
    }

    .s-contacts__block-l {
        margin-right: 0;
        margin-top: 30px;
        width: 100%;
        flex: 1;
        overflow: hidden;
        align-items: flex-start;
        flex-direction: column;
    }

    .s-contacts__block-r {
        width: 100%;
        height: 250px;
    }
    
    .s-contacts__block-cards {
        width: 100%;
    }

    .s-contacts__block-l:after {
        height: 110px;
    }
}

@media (max-width: 767px) {
    .s-contacts__block {
        max-height: 580px;
        padding: 20px 20px 25px;
        display: flex;
        flex-direction: column;
    }

    .s-contacts__block-c {
        max-height: initial;
        flex: 1;
        overflow: hidden;
    }

    .s-contacts__block-r {
        height: 210px;
    }

    .s-contacts__block-l {
        margin-top: 20px;
    }

    .s-contacts__block-l:after {
        height: 72px;
        background: linear-gradient(0deg, #F5F9FF 5.21%, rgba(255, 255, 255, 0.00) 100%);
    }

    .s-contacts__block-title {
        font-size: 24px;
        line-height: 29px;
        margin-bottom: 20px;
        font-weight: 500;
        flex: 0 0 auto;
    }

    .s-contacts__block-map {
        border-radius: 0;
    }

    .s-contacts-card__title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    
    .s-contacts-card__actions {
        margin-top: 15px;
        flex-direction: column;
    }
}

/*
* contacts end
*/