.contacts__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.contacts__item {
    padding: 25px;
    height: 100%;
}

.contacts__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 700;
    height: 30px;
    margin-bottom: 8px;
}

.contacts__item-icon svg {
    width: 100%;
    height: 100%;
}

.contacts__item-icon svg path {
    fill: var(--color-black);
}

.contacts__item-value {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    position: relative;
}

.contacts__item-value .btn {
    position: absolute;
    top: 0;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
}

.contacts__wrap {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 24px;
}

.contacts__content {
    display: flex;
}

.contacts__images {
    width: 444px;
}

.contacts__text {
    width: calc(100% - 444px);
    padding-left: 50px;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
}

.contacts__text h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
}

.contacts__map-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.images__list {
    margin-bottom: 10px;
}

.images__list-item {
    height: 320px;
}

.images__nav {
    display: flex;
    align-items: center;
}

.images__nav-arrow {
    width: 30px;
    height: 100%;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.images__nav-arrow path {
    fill: #222;
    transition: var(--transition);
}

.images__nav-arrow:hover path {
    fill: var(--color-red);
}

.images__nav-slider {
    width: calc(100% - 60px);
}

.images__nav-item {
    height: 97px;
}

.images__nav-item::before {
    content: '';
    opacity: 0.5;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transition: var(--transition);
    cursor: pointer;
}

.images__nav-item.swiper-slide-thumb-active:before,
.images__nav-item:hover:before {
    opacity: 0;
}


@media screen and (max-width: 1919px) {
    .contacts__wrap {
        grid-template-columns: 1fr
    }

    .contacts__map-wrap {
        height: 480px;
    }
}

@media screen and (max-width: 1169px) {
    .contacts__list {
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }

    .contacts__item {
        display: flex;
        align-items: center;
        padding: 14px;
    }

    .contacts__item:nth-child(1) {
        flex-direction: column;
        align-items: flex-start;
        grid-row-start: 1;
        grid-row-end: 3;
    }

    .contacts__item:nth-child(1) .contacts__item-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 8px;
    }

    .contacts__item:nth-child(1) .contacts__item-value {
        text-align: center;
    }

    .contacts__item-icon {
        margin-bottom: 0;
    }

    .contacts__item-icon {
        margin-right: 14px;
    }

    .contacts__item-value {
        position: relative;
        font-size: 15px;
        text-align: left;
    }

    .contacts__item-value .btn {
        top: -3px;
        left: 0;
        transform: none;
        width: 140px;
    }

}

@media screen and (max-width: 839px) {
    .contacts {}

    .contacts__wrap {
        display: block;
    }

    .contacts__content {
        display: block;
    }

    .contacts__images {
        width: 100%;
        margin-bottom: 30px;
    }

    .contacts__text {
        padding-left: 0;
        width: 100%;
    }

    .contacts__map-wrap {
        height: 320px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .contacts__list {
        display: block;

    }

    .contacts__item {
        margin-bottom: 10px;
    }

    .contacts__item:last-child {
        margin-bottom: 0;
    }

    .contacts__item:nth-child(1) {
        flex-direction: row;
        align-items: center;
    }

    .contacts__item:nth-child(1) .contacts__item-icon {
        margin-bottom: 0;
        margin-right: 14px;
    }

    .contacts__item:nth-child(1) .contacts__item-value {
        text-align: left;
    }

    .contacts__item:last-child .contacts__item-icon {
        width: auto;
    }

    .contacts__item-icon {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    .contacts__item-value {
        font-size: 16px;
    }

    .contacts__item-value .btn {
        padding-top: 6px;
        padding-bottom: 6px;
        width: 150px;
        top: -5px;
    }
}


@media screen and (max-width: 575px) {
    .images__nav-slider {
        width: calc(100% - 40px);
    }

    .images__nav-arrow.swiper-button-prev {
        margin-left: -10px;
    }

    .images__nav-arrow.swiper-button-next {
        margin-right: -10px;
    }
}