:root {
    /* --bg: #f6f8fb; */
    /* --card: #FFFFFF; */
    --accent: #0142FF;
    /* --muted: #6b7280; */
    --pill: rgba(241, 72, 72, 0.1);
    /* --rounded: 28px; */
    /* --shadow: 0 8px 24px rgba(10, 20, 50, 0.08); */
    --black: #1B1B29;
    --blackText: #202020;
}

.block_map__grid {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: start;
}

/* left map card */
.block_map__inner {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-right: 40px;
}

.block_map__inner iframe {
    border: none;
}

/*кнопка и модальное окно*/
.block_map__button_show_price.price-trigger-btn  {
    width: 147px;
    height: 48px;
    position: absolute;
    color: var(--blackText);
    left: 90px;
    bottom: 40px;
    border: none;
    background-color: #FFFFFF;
    border-radius: 30px;
    font-size: 12px;
    line-height: 18px;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 8px 20px rgba(74, 90, 226, 0.4);
    cursor: pointer;
    display: none; /* скрыта на десктопе */
}

#priceModal {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 85%;
    background: white;
    border-radius: 28px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    transform: translateY(125%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding: 22px;
}

#priceModal.active {
    transform: translateY(0);
}

.modal-close {
    font-size: 12px;
    font-weight: 500;
    color: var(--blackText);
    cursor: pointer;
    border: none;
    background-color: transparent;
    margin-top: 10px;
    padding: 0;
}

.item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    margin: 14px 0;
}
/*кнопка и модальное окно*/


.block_map__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* right content */
.block_map__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block_map__title-row h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 600;
    letter-spacing: -3%;
    margin: 0;
    color: var(--blackText);
}

.h1_mobile {
    display: none;
}

.block_map__badge {
    width: 57px;
    height: 32px;
    background: var(--accent);
    color: #FFFFFF;
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    align-self: center;
}

p.block_map__lead {
    color: var(--blackText);
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    margin: 0 0 14px
}

p.block_map__lead:first-of-type {
    margin: 25px 0 14px 0;
}

.block_map__notice {
    background: var(--pill);
    height: 60px;
    width: fit-content;
    font-size: 14px;
    font-weight: 400;;
    line-height: 30px;
    padding: 15px 25px;
    border-radius: 30px;
    color: var(--blackText);
    display: inline-block;
    margin: 10px 0;
}

.block_map__section-title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    margin: 18px 0 18px;
    color: var(--blackText);
}

.block_map__prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.block_map__price-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.swatch {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    border: 1px solid white;
    box-shadow: 0 2px 6px rgba(2, 6, 23, 0.08)
}

.price-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--black);
    white-space: nowrap;
}

.price-amount {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--black);
}

.block_map__phone-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F1F4F8;
    padding: 16px 25px;
    border-radius: 30px;
    margin-top: 34px;
    box-shadow: 0 6px 20px rgba(11, 102, 255, 0.06);
    height: 80px;
    width: 90%;
    gap: 20px;
}

.block_map__phone-pill-wrapper.mob {
    display: none;
}

.block_map__phone-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--blackText);
    max-width: 365px;
    line-height: 120%;
}

.block_map__phone {
    font-weight: 600;
    color: #014CF4;
    font-size: 26px;
    line-height: 30px;
    white-space: nowrap;
}

.block_map__wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.block_map__wrapper .btn.btn-blue {
    max-height: 50px;
    color: #ffffff;
}

.small-icon img {
    width: 35px;
    height: 28px
}

@media(max-width: 1262px) {
    .block_map__phone {
        font-size: 18px;
    }
}

@media(min-width: 1016px) and (max-width: 1420px) {
    .block_map__phone-text {
        font-size: 11px;
    }
}

@media(max-width: 1016px) {

    .block_map {
        padding: 45px 25px 0 25px;
    }

    .block_map__grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .block_map__content {
        order: 1
    }

    .block_map__card {
        order: 2
    }

    .block_map__phone-pill-wrapper {
        order: 3
    }

    .block_map__phone-pill {
        width: 100%;
        flex-wrap: nowrap;
    }

    .block_map__title-row h2 {
        font-size: 26px;
        line-height: 30px;
    }

    .block_map__inner {
        margin: 0;
    }

    .block_map__phone-pill-wrapper.descr {
        display: none;
    }

    .block_map__phone-pill-wrapper.mob {
        display: block;
    }

    .block_map__phone {
        font-size: 26px;
    }

    .block_map__inner iframe {
        height: 526px;
    }
}


@media(max-width: 768px) {
    .block_map__title-row h1 {
        font-size: 26px;
        line-height: 30px;
        font-weight: 600;
    }

    p.block_map__lead {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        margin: 0 0 10px
    }

    .block_map__notice {
        font-size: 14px;
    }

    .block_map__prices {
        display: none;
    }

    .block_map__button_show_price.price-trigger-btn {
        display: block;
    }

    .block_map__prices_mob {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .price-text {
        font-size: 10px;
        line-height: 14px;
    }

    .price-amount {
        font-size: 10px;
        line-height: 14px;
    }

    .block_map__phone-pill {
        gap: 15px;
        margin-top: 0;
        height: fit-content;
    }

    .block_map__phone {
        font-size: 22px;
        line-height: 26px;
    }

    .block_map__wrapper .btn.btn-blue {
        width: 100%;
    }

    .block_map__wrapper .small-icon {
        display: none;
    }

    .block_map__inner iframe {
        height: 424px;
    }
}

@media(max-width:  576px) {

    .h1_mobile {
        display: block;
    }

    .h1_desk_top {
        display: none;
    }

    .block_map__phone-pill {
        flex-direction: column;
        align-items:flex-start;
    }

}


