.hero-section {
    position: relative;
    height: 200px;
}

.hero-section::before {
    background: linear-gradient(270deg, #FFF 51.44%, rgba(255, 255, 255, 0.00) 100%);
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 70%;
    z-index: 2;
}

.hero-overlay {
    background: linear-gradient(90deg, #012C6C 0%, rgba(1, 44, 108, 0.00) 100%);
    margin-top: -100px;
    z-index: 2;
    position: relative;
    padding: 7px 0;
}

.hero-image {
    display: block;
    height: 200px;
    object-fit: cover;
}

.hero-title {
    color: #FFF;
    font-family: 'Montserrat';
    font-size: 65px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    /* 65px */
}


.contacts-locations {
    padding: 60px 0;
}

.map {
    max-width: 730px;
    margin: 0 auto 120px;
}

.locations-list {
    display: flex;

    flex-wrap: wrap;
    row-gap: 50px;
}

.locations-list__card {
    padding: 10px 30px;
    position: relative;
    max-width: 33.3%;
    display: flex;
    flex-wrap: wrap;

}
.location-card_wrap{
        gap: 20px;
            display: flex;
    flex-wrap: wrap;
}
.location-card:nth-child(3n+1)::after,
.location-card:nth-child(3n+2)::after {
    border-radius: 8px;
    background: #EC6F2A;
    content: '';
    height: 100%;
    width: 2px;
    position: absolute;
    right: 0;
    top: 0;
}

.location-card__city {
    color: #000;
    font-family: 'Montserrat';
    font-size: 45px;
    font-style: normal;
    font-weight: 900;
    line-height: 130%;
}

.location-card__address {
    color: #000;
    font-family: 'Montserrat';
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    /* 28.6px */
}


.location-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.location-card__link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-family: 'Montserrat';
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-decoration: none;
}

@media screen and (max-width: 1000px){
    .locations-list__card{
        max-width: 50%;
    }
    .location-card:nth-child(3n+2)::after,.location-card:nth-child(3n+1)::after{
        display: none;
    }
    .hero-title{
        font-size: 45px;
    }
}

@media screen and (max-width: 800px){
    .locations-list{
        row-gap: 30px;
    }
    .location-card__city{
        font-size: 35px;
    }
    .location-card__address{
        font-size: 20px;
    }
}

@media screen and (max-width: 700px){
    .location-card_wrap{
            gap: 10px;
    }
    .location-card__city{
            font-size: 20px;
    }
    .location-card__address{
            font-size: 14px;
    }
    .location-card__contacts{
        gap: 10px;
    }
    
    .location-card__link{
            font-size: 14px;
    }
    
}

@media screen and (max-width: 500px){
    .location-card_wrap{
        gap: 5px;
    }
    .hero-title{
        font-size: 35px;
    }
    .locations-list__card {
        max-width: 100%;
    }
    .hero-overlay{
            margin-top: -70px;
    }
    .map{
            margin: 0 auto 30px;
    }
    .locations-list__card{
        padding: 10px 0;
    }
    .location-card__link{
        gap: 5px;
    }
     .location-card__link svg{
         height: 15px;
     }
         .locations-list {
        row-gap: 5px;
    }
}
