.sect-contacts {
    background: #1F1F1E;
}

.nav-pills .nav-link {
    border-radius: 0;
}

.nav-pills .nav-link.active {
    background: transparent;
    transform: translateX(5%);
    border-bottom-color: transparent;
    border-left-color: var(--accent-orange);
}

.nav-link {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.4;
    color: white;
    border-bottom: 1px solid #C1C1C1;
    border-left: 2px solid transparent;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.pills-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.nav-pills {
    width: 15%;
}

.tab-content {
    width: 82%;
}

.tab-container {
    display: flex;
    justify-content: space-between;
}

.tab-pane {
    min-height: 45vh;
}

#map {
    width: 65%;
    height: auto;
}

.contacts-right {
    height: auto;
    position: relative;
    width: 34%;
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 94.2px 0px #00000012;
}

.contacts-right::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 50px;
    background: #1F1F1E;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    box-shadow: inherit;
}

.contacts-right-container {
    padding: 44px 10% 55px;
    width: 100%;
}

.contacts-right-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #292929;
    margin-bottom: 26px;
}

.contacts-right-list-item {
    margin-bottom: 18px;
    width: 100%;
    padding-bottom: 20px;
}

.contacts-right-list-item:not(:last-child) {
    border-bottom: 1px solid #C1C1C1;
}

.contacts-right-list-item-title {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.2;
    color: #535353;
    margin-bottom: 5px;
}

.contacts-right-list-item-container {
    display: flex;
    align-items: center;
}

.contacts-right-list-item-link {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.1;
    border-bottom: 1px solid transparent;
    color: #292929;
    transition: all .2s ease-in;
}

.contacts-right-list-item-link:hover {
    border-bottom-color: var(--accent-orange);
    color: var(--accent-orange);
}

.contacts-right-list-item svg {
    margin-right: 22px;
    min-width: 14px;
    max-width: 20px;
}


.sect-contacts .container {
    position: relative;
}

.sect-contacts .container::after {
    content: '';
    width: 1px;
    background: #FFFFFF66;
    position: absolute;
    top: 8%;
    left: 0;
    height: 115%;
    z-index: 2;
}

.sect-contacts .container::before {
    content: '02';
    position: absolute;
    top: 1.5%;
    left: 0;
    transform: translateX(-50%);
    z-index: 2;
    color: #DD4210;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .tab-container {
        flex-direction: column-reverse;
    }

    .contacts-right {
        width: 100%;
        margin-bottom: 25px;
    }

    #map {
        width: 100%;
        height: 55vh;
    }
}

@media (max-width: 768px) {
    .pills-container {
        flex-direction: column;
    }

    .nav-pills {
        width: 100%;
        flex-direction: row !important;
        margin-bottom: 25px;
    }

    .nav-link {
        margin-right: 2em;
        border-left: none;
    }

    .nav-pills .nav-link.active {
        border-left: none;
        border-bottom-color: var(--accent-orange);
        transform: none;
    }

    .tab-content {
        width: 100%;
    }
}

@media (max-width: 530px) {
    .nav-pills {
        width: 100%;
        flex-direction: column !important;
        margin-bottom: 25px;
    }
}