/* ========== MAP SECTION (КАК НАС НАЙТИ) ========== */
.map-section {
    position: relative;
    padding: 60px 5%;
    background: linear-gradient(135deg, #0a121c 0%, #0d1622 100%);
    overflow: hidden;
}

.map-subtitle {
    text-align: center;
    font-size: 16px;
    color: #bdd3e8;
    margin-top: -10px;
    margin-bottom: 40px;
    font-weight: 400;
}

.map-container {
    position: relative;
    z-index: 2;
}

.map-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(246, 184, 0, 0.2);
    transition: transform 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(246, 184, 0, 0.4);
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Оверлей с информацией */
.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(246, 184, 0, 0.2);
    max-width: 280px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.map-overlay-title {
    font-size: 18px;
    font-weight: 700;
    color: #f6b800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-overlay-title i {
    font-size: 20px;
}

.map-overlay-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(246, 184, 0, 0.1);
}

.map-overlay-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.map-overlay-icon {
    width: 34px;
    height: 34px;
    background: rgba(246, 184, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6b800;
    font-size: 14px;
    flex-shrink: 0;
}

.map-overlay-content {
    flex: 1;
}

.map-overlay-label {
    font-size: 11px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    color: #bdd3e8;
}

.map-overlay-value {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
    color: #fff;
}

.map-overlay-value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-overlay-value a:hover {
    color: #f6b800;
}

/* Бейдж */
.map-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f6b800, #e0a800);
    padding: 10px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.map-badge i {
    font-size: 20px;
    color: #1a1a2e;
}

.map-badge-text {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 14px;
}

.map-badge-text small {
    display: block;
    font-size: 10px;
    opacity: 0.8;
    font-weight: 400;
}

/* Кнопка построить маршрут */
.map-route-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 18, 28, 0.95);
    backdrop-filter: blur(5px);
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid rgba(246, 184, 0, 0.3);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 14px;
    font-weight: 500;
}

.map-route-btn i {
    color: #f6b800;
    font-size: 16px;
}

.map-route-btn:hover {
    background: #f6b800;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.map-route-btn:hover i {
    color: #1a1a2e;
}

/* Информационные карточки под картой */
.map-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.map-info-card {
    background: rgba(18, 30, 39, 0.6);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(246, 184, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.map-info-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 34, 44, 0.8);
    border-color: rgba(246, 184, 0, 0.3);
}

.map-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(246, 184, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6b800;
    font-size: 22px;
    flex-shrink: 0;
}

.map-info-content {
    flex: 1;
}

.map-info-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #f6b800;
}

.map-info-text {
    font-size: 13px;
    color: #bdd3e8;
    line-height: 1.4;
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 992px) {
    .map-iframe {
        height: 380px;
    }
    
    .map-info-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 40px 4%;
    }
    
    .map-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .map-iframe {
        height: 350px;
        border-radius: 20px 20px 0 0;
    }
    
    /* Оверлей переносим под карту */
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0 0 20px 20px;
        margin-top: 0;
        background: rgba(10, 18, 28, 0.98);
        border-top: none;
    }
    
    /* Сетка для контактов в 2 колонки */
    .map-overlay {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .map-overlay-title {
        grid-column: 1 / -1;
        margin-bottom: 5px;
    }
    
    .map-overlay-item {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.03);
        padding: 12px;
        border-radius: 16px;
    }
    
    /* Бейдж переносим вверх */
    .map-badge {
        position: absolute;
        top: 20px;
        bottom: auto;
        right: 20px;
        z-index: 20;
    }
    
    /* Кнопка маршрута под картой */
    .map-route-btn {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin-top: 15px;
        border-radius: 50px;
        justify-content: center;
    }
    
    /* Информационные карточки */
    .map-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }
    
    .map-info-card {
        padding: 18px 20px;
    }
}

@media (max-width: 550px) {
    .map-iframe {
        height: 280px;
    }
    
    /* На маленьких телефонах контакты в 1 колонку */
    .map-overlay {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .map-overlay-item {
        padding: 10px;
    }
    
    .map-overlay-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .map-overlay-value {
        font-size: 13px;
    }
    
    .map-badge {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
    }
    
    .map-badge i {
        font-size: 16px;
    }
    
    .map-badge-text {
        font-size: 12px;
    }
    
    .map-badge-text small {
        font-size: 9px;
    }
    
    .map-route-btn {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .map-info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .map-info-icon {
        margin: 0 auto 12px;
    }
    
    .map-info-title {
        font-size: 15px;
    }
    
    .map-info-text {
        font-size: 12px;
    }
}