.contacts__map-container p,
.contacts__map-container h1 {
    margin: 0;
}

.contacts__map-container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacts__title {
    color: #101010;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -.01em;
}
#map {
    width: 100%;
    height: 597px;
    position: relative;
    z-index: 1;
}
.contacts__map {
    overflow: hidden;
    border-radius: 5px;
    height: 500px;
}

.contacts__map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contacts__map--relative {
    position: relative;
}

.contacts__info-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}


.map__info {
    opacity: 1;
    display: flex;

    position: absolute;
    left: 2%;
    background: white;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    width: 420px;
    max-width: 100%;
    height: 90%;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity .1s ease-in-out;
}

.map__info div:nth-child(2) p:nth-child(1) {
    margin-bottom: 7px
}

.map__info:not(.visible) {
    display: none;
}

#closeInfo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: opacity .1s ease-in-out;
}

#closeInfo:hover {
    opacity: 0.7;
}

.social__links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.text__adres {
    text-decoration: none;
    color: black;
}




.contacts__info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.contacts__info-item:first-child {
    flex: 0.5; /* Увеличиваем ширину первого блока "На автомобиле" */
}


.contacts__info-title {
    color: #B2B2B2;
}
.contacts__info-title,
 strong {
    color: #B2B2B2;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}

.contacts__info-content {
    margin-top: auto;
}

.contacts__info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contacts__info-icons,
.contacts__transport-options {
    display: flex;
    align-items: center;
}

.contacts__icon,
.contacts__transport-icon img {

    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.contacts__info-text,
.contacts__transport-text {
    display: inline-block;
    font-size: 14px;
    color: #333;
}

.contacts__info-text--large,
.contacts__transport-text-large {
    color: #101010;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.contacts__info {
    margin-top: auto;
}

.contacts__transport-text--small {
    color:  #57585A;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;

}

.contacts__info-icons img,
.contacts__transport-option img {
    margin-bottom: 10px;
}

.contacts__vertical-divider {
    width: 1px;
    background-color: #333;
    height: auto;
    margin: 0 15px;
    align-self: stretch;
}


/*6 блоков*/
.contacts__blocks-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 121px;
    gap: 10px;
    justify-content: space-between;
}

.contacts__block {
    flex: 1 1 calc(33.333% - 10px);
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.contacts__block--orange {
    background: #F54500;
    color: #fff;
}

h2.contacts__block-title {
    font-size: 32px;
    color: #101010;
    margin-bottom: 10px;
    margin-top:0px;
    max-width: 80%;
}

.contacts__block-content {
    margin-top: auto; /* Помещает содержимое внизу блока */
}


.contacts__block-label,
.contacts__block-phone,
.contacts__block-email,
.contacts__block-time

.contacts__block-label,
.contacts__block-phone,
.contacts__block-email{
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}



.contacts__block-email .contacts__block-phone {
            color: #101010;
        }
.contacts__block-label,
.contacts__block-time {
    color:#B2B2B2;
}
.contacts__block-email,
.contacts__block-phone {
    color: #101010;
    font-size: 20px;

}

.contacts__block--orange .contacts__block-title,
.contacts__block--orange .contacts__block-label,
.contacts__block--orange .contacts__block-phone,
.contacts__block--orange .contacts__block-email,
.contacts__block--orange .contacts__block-time {
    color: #fff;
}

.contacts__block-phone{
font-size: 20px;

}

.contacts__block-download-link {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--White, #FFF);
    leading-trim: both;
    text-edge: cap;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140.018%; /* 22.403px */
}

#contacts__block-icon-download{
    background-color: white;
    border: 1px solid white;
    box-sizing: border-box;
    vertical-align: middle;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5px;


    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__block-icon {

vertical-align: middle;
margin-right: 10px;
}

.contacts__black-strip {
width: 100%;
height: 1px;
background-color: #000;
margin-top: 10px;
}

/*адаптивность*/

@media (max-width: 1024px) {
    h2.contacts__block-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contacts__map-container {
        margin-top: 20px;
        gap: 20px;
    }

    .contacts__title {
        font-size: 36px;
        line-height: 120%;
    }

    .contacts__map {
        height: 300px;
    }

    .contacts__info-container {
        flex-direction: column;
        gap: 20px;
    }

    .contacts__info-item:first-child {
        flex: 1;
    }

    .contacts__info-title {
        font-size: 18px;
    }

    .contacts__info-text-large,
    .contacts__transport-text-large {
        font-size: 16px;
    }

    .contacts__transport-text-small {
        font-size: 14px;
    }

    .contacts__vertical-divider {
        display: none;
    }

    .contacts__blocks-container {
        margin-top: 40px;
        gap: 20px;
        flex-direction: row;

        .contacts__block {
            width: 50%;

        }
    }

    .contacts__block {
        height: 188px;
        min-height: auto;
        padding: 15px;
    }

    h2.contacts__block-title {
        font-size: 24px;
    }


    .contacts__block-label,
    .contacts__block-phone,
    .contacts__block-email,
    .contacts__block-time {
        font-size: 14px;
    }

    .contacts__block-phone {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contacts__map-container {
        margin-top: 15px;
        gap: 15px;
    }

    .contacts__title {
        font-size: 24px;
        line-height: 120%;
    }

    .contacts__map {
        height: 200px;
    }

    .contacts__transport-options {
        flex-direction: column;
        gap: 10px;
    }

    .contacts__info-container {
        flex-direction: column;
        gap: 20px;
    }

    .contacts__info-item {
        flex: 1;
        padding: 15px;
    }

    .contacts__info-title {
        font-size: 16px;
    }

    .contacts__info-text-large,
    .contacts__transport-text-large {
        font-size: 14px;
    }

    .contacts__transport-text-small {
        font-size: 12px;
    }

    .contacts__vertical-divider {
        display: none;
    }

    .contacts__blocks-container {
        margin-top: 40px;
        flex-direction: column;
        gap: 20px;
        padding: 0;

        .contacts__block {
            width: 100%;
            min-height: 188px;
        }
    }

    .contacts__block {
        flex: 1 1 100%;
        min-height: auto;
        padding: 15px;
    }

    .contacts__block-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .contacts__block-content {
        margin-top: 15px;
    }

    .contacts__block-label,
    .contacts__block-phone,
    .contacts__block-email,
    .contacts__block-time {
        font-size: 14px;
    }

    .contacts__block-phone {
        font-size: 16px;
    }

    .contacts__block-icon img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .contacts__map-iframe {
        height: 100%;
    }

    .contacts__block-orange {
        padding: 15px;
    }
}

/* Адаптивность для белого окошка */
@media (max-width: 768px) {
    #closeInfo {
        top: 5px;
        right: 5px;
        font-size: 18px;
    }

    .contacts__info-container {
        .contacts__info-item:first-child {
            height: 148px;
            min-height: initial;
        }

    }


    .contacts__info-title {
        margin-top: 0;
    }

}

@media (max-width: 480px) {
    .map__info {
     display:none;
    }
}
