@media screen and (min-width: 1920px) {
    .contacts_cards{
        flex-direction: row;
        justify-content: space-between;
        padding-top:84px;
        padding-bottom:27px;
    }
    .contacts_cards__info{
        padding: 32px;
    }
    .contacts_cards__title{
        font-size: 28px;
    }
    .contacts_cards__text{
        font-size: 16px;
    }
    .contacts_cards__img--size{
        width: 164px;
        height: 164px;
    }
    .contacts_cards__img--first{
        display: none;
    }
    .contacts_cards__img--third{

    }
    .contacts_cards__info--first{
        height:100%;
        width: 1012px;
    }
    .contacts_cards__info--second{
        height:100%;
        width: 584px;
    }
    .contacts__slider-block{
        padding: 30px;
        gap:20px;
    }
    .contacts-slider {
        width: 1510px !important;
        height: 913px !important;
        align-self: center;
    }
    .contacts-images {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: end;
    }
    .contacts-images::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/local/templates/wishmaster/images/back_vector.png');
        background-repeat: no-repeat;
        z-index: 0;
    }
    .contacts__footer_image {
        position: relative;
        z-index: 1;
    }
    .contacts__footer_image--size-two{
        width: 254px;
        height: 254px;
        right:50%
    }
    .contacts__footer{
        width: 1620px;
        height: 310px;
        padding:30px;
        margin-top: 30px;
    }
    .contacts__footer-text--large{
        font-size: 24px;
    }
    .contacts__footer-text--small{
        font-size: 16px;
    }
    .contacts__footer-text--medium{
        font-size: 18px;
    }
}
@media screen and (min-width: 1350px) and  (max-width: 1919px) {
    .contacts_cards{
        flex-direction: row;
        justify-content: space-between;
        padding-top:20px;
        padding-bottom:20px;

    }
    .contacts_cards__info{
        padding: 16px;
    }
    .contacts_cards__title{
        font-size: 28px;
    }
    .contacts_cards__text{
        font-size: 16px;
    }
    .contacts_cards__img--first{

    }
    .contacts_cards__img--third{
        display: none;
    }
    .contacts_cards__img--size{
        width: 164px;
        height: 164px;
    }
    .contacts_cards__info--first{
        height:100%;
        width: 50%;
    }
    .contacts_cards__info--second{
        height:100%;
        width: 615px;
    }
    .contacts-images {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: end;
    }
    .contacts-images::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/local/templates/wishmaster/images/back_vector.png');
        background-repeat: no-repeat;
        z-index: 0;
    }
    .contacts__footer_image {
        position: relative;
        z-index: 1;
    }
    .contacts__footer_image--size-two{
        width: 254px;
        height: 254px;
        right:50%
    }
    .contacts__footer{
        width: 100%;
        height: 310px;
        padding:30px;
        margin-top:20px;
        margin-bottom:20px;
    }
    .contacts__footer-text--large{
        font-size: 24px;
    }
    .contacts__footer-text--small{
        font-size: 16px;
    }
    .contacts__footer-text--medium{
        font-size: 18px;
    }
}
@media screen and (min-width: 766px) and (max-width: 1349px) {
    .contacts_cards {
        flex-direction: row;
        gap: 25px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .contacts_cards__info {
        padding: 32px;
        flex-direction: column;
    }

    .contacts_cards__title {
        font-size: 28px;
    }

    .contacts_cards__text {
        font-size: 16px;
    }

    .contacts_cards__img--first {
        display: none;
    }

    .contacts_cards__img--third {

    }

    .contacts_cards__img--size {
        width: 164px;
        height: 164px;
    }

    .contacts_cards__info--first {
        height:100%;
        width: 100%;
    }

    .contacts_cards__info--second {
        height:100%;
        width: 100%;
    }

    .contacts-images {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        min-height: 254px;
    }

    .contacts__footer__first {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        min-height: 300px;
    }

    .contacts__footer_image {
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .contacts__footer_image--size-one {
        z-index: 1;
        object-fit: cover;
    }
        .contacts__footer_image--size-two {
            z-index: 2;
            width: 254px;
            height: 254px;
        }

        .contacts__footer {
            height: 507px;
            padding: 30px;
            margin-top: 24px;
            margin-bottom: 24px;
            flex-direction: column-reverse;
            display: flex;
        }

        .contacts__footer-text--large {
            font-size: 24px;
        }

        .contacts__footer-text--small {
            font-size: 16px;
        }

        .contacts__footer-text--medium {
            font-size: 18px;
        }
        .contacts__footer__first {
            padding-top: 14px;
        }
}
@media screen and (max-width: 765px){
    .contacts_cards{
        flex-direction: column;
        gap: 20px;
        padding-top:13px;
        padding-bottom:20px;

    }
    .contacts_cards__info{
        padding: 22px;
        flex-direction: column;
    }
    .contacts_cards__title{
        font-size: 18px;
    }
    .contacts_cards__text{
        font-size: 16px;
    }
    .contacts_cards__img--first{
        display: none;
    }
    .contacts_cards__img--third{

    }
    .contacts_cards__img--size{
        width: 120px;
        height: 120px;
    }
    .contacts_cards__info--first{
        height:100%;
        width: 100%;
    }
    .contacts_cards__info--second{
        height:100%;
        width: 100%;
    }
    .contacts-images {
        position: relative;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .contacts__footer__first{
        background-image: url('/local/templates/wishmaster/images/pattern_1.png');
    }
    .contacts__footer_image {
        position: relative;
        z-index: 1;
    }
    .contacts__footer_image--size-one{
       display:none;
    }
    .contacts__footer_image--size-two{
        width: 215px;
        height: 215px;
    }
    .contacts__footer{
        width: 100%;
        height: 100%;
        padding:30px;
        flex-direction: column-reverse;
        margin-top:40px;
    }
    .contacts__footer-text{
        padding-bottom:5px;
    }
    .contacts__footer-text--large{
        font-size: 18px;
    }
    .contacts__footer-text--small{
        font-size: 16px;
    }
    .contacts__footer-text--medium{
        font-size: 18px;
    }
}
.contacts_cards{
    display: flex;
}
.contacts_cards__info{
    display: flex;
    background-color: white;
    border-radius: 12px;
}
.contacts__slider-block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    border-radius: 12px;
    padding: 21px;
    gap:7px;
}
.contacts_cards__title{
    font-family: Roboto Condensed;
    font-weight: 500;
    line-height: 140%;
}
.contacts_cards__text{
    font-family: Roboto;
    font-weight: 400;
    line-height: 160%;
}
.custom-slider {
    justify-content: center;
    display: flex;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    padding:15px;
}
@media screen and (min-width: 1920px) {
    .slider-container {
        height: 600px;
        width: 1020px;
    }
}

@media screen and (min-width: 1350px) and  (max-width: 1919px) {
    .slider-container {
        height: 600px;
        width: 1020px;
    }
}
@media screen and (min-width: 766px) and (max-width: 1349px) {
    .slider-container {
        height: 540px;
        width: 1000px;
    }
}
@media screen and (max-width: 765px) {
    .slider-container {
        height: 400px;
        width: 600px;
    }
}
@media screen and (max-width: 450px) {
    .slider-container {
        height: 220px;
        width: 600px;
    }
}


.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.slider-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slider-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.slider-slide.slide-in-left {
    transform: translateX(-100%);
    animation: slideInFromLeft 0.6s forwards;
}

.slider-slide.slide-in-right {
    transform: translateX(100%);
    animation: slideInFromRight 0.6s forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.contacts-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-btn {
    display: none;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 10;
    padding: 5px;
}
.pagination-dot {
    width: 50px;
    height: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px;
    padding: 0;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
}

.pagination-dot.active {
    background-color: whitesmoke;
    width: 70px;
    height: 16px;
    box-shadow: 0 2px 8px rgba(19, 19, 19, 0.3);
    transform: translateY(-1px);
}

.pagination-dot:hover:not(.active) {
    transform: scale(1.05);
}

.pagination-dot:active {
    transform: scale(0.95);
}

@media screen and (max-width: 1349px) {
    .slider-pagination {
        gap: 6px;
    }

    .pagination-dot {
        width: 40px;
        height: 12px;
        border-radius: 6px;
    }

    .pagination-dot.active {
        width: 55px;
        height: 14px;
        border-radius: 7px;
    }
}

@media screen and (max-width: 765px) {
    .slider-pagination {
        gap: 5px;
        flex-wrap: wrap;
        padding: 8px;
    }

    .pagination-dot {
        width: 35px;
        height: 10px;
        border-radius: 5px;
        min-width: 35px;
    }

    .pagination-dot.active {
        width: 45px;
        height: 12px;
        border-radius: 6px;
    }
}

.slider-pagination {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.custom-slider {
    cursor: grab;
    user-select: none;
}

.custom-slider.grabbing {
    cursor: grabbing;
}

.pagination-dot::before {
    content: attr(data-index);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #2D5BFF;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.pagination-dot:hover::before {
    opacity: 1;
}

.custom-slider {
    cursor: grab;
    user-select: none;
}

.custom-slider.grabbing {
    cursor: grabbing;
}
.contacts__footer{
    display: flex;
    align-items: center;
    background-color: white;
}
.contacts__images{
    display: flex;
    align-items: center;
}
.contacts__footer-text--large{
    font-family: Roboto Condensed;
    font-weight: 400;
    line-height: 140%;
    color: #163560;
}
.contacts__footer-text--small{
    font-family: Roboto;
    font-weight: 400;
    line-height: 160%;
}
.contacts__footer-text--small a{
    text-decoration: underline;
}
.contacts__footer-text--medium{
    font-family: Roboto;
    font-weight: 400;
    line-height: 160%;
    font-style: italic;
}