/* ===== ЗОНА ПОКРЫТИЯ ===== */
.coverage-section {
    margin-top: 80px;
    width: 100%;
}

.coverage-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 40px;
    border-radius: 40px;

}

/* Левая колонка */
.coverage-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coverage-left h2 {
    font-size: 56px;
    line-height: 1.0;
    font-weight: 500;
    color: #433F45;
    margin: 0;
}

.coverage-left h3 {
    font-size: 24px;
    font-weight: 500;
    color: #433f45;
    margin: 10px 0 5px 0;
}

.coverage-description {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.coverage-note {
    font-size: 14px;
    color: #a43ccf;
    font-style: italic;
    margin: 0;
}

/* Поле поиска */
.search-wrapper {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.coverage-search {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.coverage-search:focus {
    outline: none;
    border-color: #a43ccf;
    box-shadow: 0 0 0 3px rgba(164, 60, 207, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

/* Список населенных пунктов */
.settlements-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 5px;
    margin: 10px 0;
    background: #fafafa;
}

.settlement-item {
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.settlement-item:hover {
    background: rgba(164, 60, 207, 0.1);
    color: #a43ccf;
}

.settlement-item.active {
    background: #a43ccf;
    color: white;
    font-weight: 500;
}

.settlement-item.active::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.settlement-item.highlighted {
    background: rgba(164, 60, 207, 0.2);
    color: #a43ccf;
    font-weight: 500;
}

.settlement-item.no-result {
    color: #999;
    font-style: italic;
    cursor: default;
    pointer-events: none;
    justify-content: center;
}

.settlement-item.no-result:hover {
    background: transparent;
    color: #999;
}

/* Кнопка подключить */
.coverage-btn {
    background: #a43ccf;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 10px 10px 10px;
    border: 2px solid #a43ccf;
}

.coverage-btn:hover {
    background: white;
    color: #a43ccf;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(164, 60, 207, 0.3);
}

/* Правая колонка с картой */
.coverage-right {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: 1100px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 1100px;
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Метки на карте в виде капель */
.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.map-marker {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -100%);
}

/* Стиль капельки - уменьшенный размер */
.marker-dot {
    width: 24px;
    height: 24px;
    background: #a43ccf;
    border: 2px solid white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
    position: relative;
}

/* Белый кружок внутри капельки - уменьшенный */
.marker-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Эффект пульсации - уменьшенный */
.marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(164, 60, 207, 0.2);
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 1;
}

.map-marker:hover .marker-dot {
    background: #ff6b6b;
    transform: rotate(-45deg) scale(1.1);
}

.map-marker:hover .marker-dot::after {
    opacity: 1;
    width: 36px;
    height: 36px;
}

/* Всплывающая подсказка */
.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #433f45;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid #f0f0f0;
    z-index: 20;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.map-marker:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    margin-bottom: 12px;
}

/* Активная метка */
.map-marker.active .marker-dot {
    background: #ff6b6b;
    transform: rotate(-45deg) scale(1.1);
}

.map-marker.active .marker-dot::after {
    opacity: 1;
    width: 36px;
    height: 36px;
}

.map-marker.active .marker-tooltip {
    opacity: 1;
    visibility: visible;
    margin-bottom: 12px;
    background: #a43ccf;
    color: white;
}

.map-marker.active .marker-tooltip::after {
    border-color: #a43ccf transparent transparent transparent;
}

/* ===== АДАПТИВ ЗОНЫ ПОКРЫТИЯ ===== */
@media (max-width: 992px) {
    .coverage-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .coverage-right {
        min-height: 400px;
    }

    .map-container {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .coverage-section {
        margin-top: 60px;
    }

    .coverage-left h2 {
        font-size: 36px;
    }

    .coverage-left h3 {
        font-size: 20px;
    }

    .coverage-container {
        padding: 25px;
        border-radius: 30px;
    }

    .marker-dot {
        width: 20px;
        height: 20px;
        border-width: 1.5px;
    }

    .marker-dot::before {
        width: 8px;
        height: 8px;
    }

    .marker-tooltip {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .coverage-left h2 {
        font-size: 28px;
    }

    .coverage-left h3 {
        font-size: 18px;
    }

    .coverage-container {
        padding: 20px;
        border-radius: 20px;
    }

    .coverage-right {
        min-height: 300px;
    }

    .map-container {
        min-height: 300px;
    }

    .marker-dot {
        width: 18px;
        height: 18px;
    }

    .marker-dot::before {
        width: 6px;
        height: 6px;
    }

    .settlement-item {
        font-size: 13px;
        padding: 10px 12px;
    }

    .coverage-search {
        padding: 12px 15px 12px 40px;
        font-size: 14px;
    }

    .coverage-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}